mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix _run to reset LANGUAGE env variable
Change cmdmod.py to reset LANGUAGE alongside with the LC_* variables
This commit is contained in:
parent
63baf4c4f8
commit
ee2ab38c8c
1 changed files with 1 additions and 0 deletions
|
@ -507,6 +507,7 @@ def _run(cmd,
|
|||
env.setdefault('LC_TELEPHONE', 'C')
|
||||
env.setdefault('LC_MEASUREMENT', 'C')
|
||||
env.setdefault('LC_IDENTIFICATION', 'C')
|
||||
env.setdefault('LANGUAGE', 'C')
|
||||
else:
|
||||
# On Windows set the codepage to US English.
|
||||
if python_shell:
|
||||
|
|
Loading…
Add table
Reference in a new issue