summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik "Freso" S. Olesen2014-08-14 10:43:16 +0200
committerFrederik “Freso” S. Olesen2015-07-12 15:26:46 +0200
commit74e7c85ebcd28a17442a0dfff22c3b08878c8aae (patch)
tree0600cc9ad0330d5f502d728367a5a1a48518c15a
parent82e6a3c27784a20dd50124708b76eefb4dff2b85 (diff)
downloadaur-74e7c85ebcd28a17442a0dfff22c3b08878c8aae.tar.gz
networkmanager-dispatcher-chrony: Ensure we always get English strings.
Localised environments might have the `nmcli` response be translated, breaking the string comparison.
-rw-r--r--10-chrony3
1 files changed, 3 insertions, 0 deletions
diff --git a/10-chrony b/10-chrony
index e5603ddec844..3e392bc6da70 100644
--- a/10-chrony
+++ b/10-chrony
@@ -3,6 +3,9 @@
INTERFACE=$1
STATUS=$2
+# Make sure we're always getting the standard response strings
+LANG='C'
+
# Chrony set-up
CHRONY=/usr/bin/chronyc
CONFIG=/etc/chrony.conf