summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats
diff options
context:
space:
mode:
authorSimon Rettberg2019-04-03 18:43:21 +0200
committerSimon Rettberg2019-04-03 18:43:21 +0200
commit2709af7fc72e7fb7003bec02bda2ba060578843b (patch)
tree36abf1ef7b0e57675a17dd7e2ce3a5f8b2266a46 /core/modules/hardware-stats
parent[hardware-stats] Use ExecStop for shutdown notification (diff)
downloadmltk-2709af7fc72e7fb7003bec02bda2ba060578843b.tar.gz
mltk-2709af7fc72e7fb7003bec02bda2ba060578843b.tar.xz
mltk-2709af7fc72e7fb7003bec02bda2ba060578843b.zip
[hardware-stats] Use proper cmdline switch...
Diffstat (limited to 'core/modules/hardware-stats')
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/shutdown-system_usage_update4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/shutdown-system_usage_update b/core/modules/hardware-stats/data/opt/openslx/scripts/shutdown-system_usage_update
index 983a882e..31ac01a3 100755
--- a/core/modules/hardware-stats/data/opt/openslx/scripts/shutdown-system_usage_update
+++ b/core/modules/hardware-stats/data/opt/openslx/scripts/shutdown-system_usage_update
@@ -7,6 +7,6 @@ UUID=$(cat /etc/system-uuid)
[ -z "$UUID" ] && exit 1
-curl --retry 3 --retry-connrefused --max-time 3 --max-time-retry 10 -s --data-urlencode "type=~poweroff" --data-urlencode "uuid=$UUID" \
- "$SLX_REMOTE_LOG" > /dev/null 2>&1
+curl --retry 3 --retry-connrefused --max-time 3 --retry-max-time 10 -s --data-urlencode "type=~poweroff" --data-urlencode "uuid=$UUID" \
+ "$SLX_REMOTE_LOG"