summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-24 16:10:13 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-24 16:10:13 -0400
commit9524c035d58cf798379178c2ded93cf55375281a (patch)
tree787b25f548ab6b785c80bd5697070a72d0e16738 /src
parent4fb636cd7ff2d3f4352613932d2c02c08aba1636 (diff)
downloadbcfg2-9524c035d58cf798379178c2ded93cf55375281a.tar.gz
bcfg2-9524c035d58cf798379178c2ded93cf55375281a.tar.bz2
bcfg2-9524c035d58cf798379178c2ded93cf55375281a.zip
fix setting locale in Chkconfig tool
Diffstat (limited to 'src')
-rw-r--r--src/lib/Bcfg2/Client/Tools/Chkconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/Chkconfig.py b/src/lib/Bcfg2/Client/Tools/Chkconfig.py
index ef697091c..e1ad35861 100644
--- a/src/lib/Bcfg2/Client/Tools/Chkconfig.py
+++ b/src/lib/Bcfg2/Client/Tools/Chkconfig.py
@@ -14,7 +14,7 @@ class Chkconfig(Bcfg2.Client.Tools.SvcTool):
__execs__ = ['/sbin/chkconfig']
__handles__ = [('Service', 'chkconfig')]
__req__ = {'Service': ['name', 'status']}
- os.environ['LANG'] = 'C'
+ os.environ['LC_ALL'] = 'C'
def get_svc_command(self, service, action):
return "/sbin/service %s %s" % (service.get('name'), action)