diff options
| author | Simon Rettberg | 2016-01-05 10:34:24 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2016-01-05 10:34:24 +0100 |
| commit | c740b7da9eb95bfaddd10acdb7696e3a30edb807 (patch) | |
| tree | 310d8fc34c7f052e1a9ea4816c8c555e1d375cc9 /remote/modules/hardware-stats/data/opt | |
| parent | [hardware-stats] Sanitize spaces in cpu and system model (diff) | |
| download | tm-scripts-c740b7da9eb95bfaddd10acdb7696e3a30edb807.tar.gz tm-scripts-c740b7da9eb95bfaddd10acdb7696e3a30edb807.tar.xz tm-scripts-c740b7da9eb95bfaddd10acdb7696e3a30edb807.zip | |
[hardware-stats] Switch to C locale before calling any tools
Diffstat (limited to 'remote/modules/hardware-stats/data/opt')
| -rwxr-xr-x | remote/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats | 2 |
1 files changed, 2 insertions, 0 deletions
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" |
