From c740b7da9eb95bfaddd10acdb7696e3a30edb807 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 5 Jan 2016 10:34:24 +0100 Subject: [hardware-stats] Switch to C locale before calling any tools --- .../hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats | 2 ++ 1 file changed, 2 insertions(+) (limited to 'remote/modules') diff --git a/remote/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats b/remote/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats index 686bb444..8de902b3 100755 --- a/remote/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats +++ b/remote/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats @@ -5,6 +5,8 @@ # This script gathers information about the hardware and configuration and reports it back to the server . /opt/openslx/config +export LANG=C +export LC_ALL=C if [ -z "$SLX_REMOTE_LOG" ]; then echo "No remote log url given, will not report" -- cgit v1.2.3-55-g7522