From f013029ab63656f5551a65b188477aec7c6b4952 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 23 Jul 2020 14:06:33 +0200 Subject: [hardware-stats] Use bash for better math --- .../hardware-stats/data/opt/openslx/scripts/cron-system_usage_update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/modules/hardware-stats') diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/cron-system_usage_update b/core/modules/hardware-stats/data/opt/openslx/scripts/cron-system_usage_update index 4c8becc9..08338808 100755 --- a/core/modules/hardware-stats/data/opt/openslx/scripts/cron-system_usage_update +++ b/core/modules/hardware-stats/data/opt/openslx/scripts/cron-system_usage_update @@ -1,4 +1,5 @@ -#!/bin/ash +#!/bin/bash +# Use bash not ash for >32bit arithmetic touch /run/openslx || exit 1 full=false -- cgit v1.2.3-55-g7522