mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #47441 from shengis/fix-run-env-reset
Fix _run to reset LANGUAGE env variable
This commit is contained in:
commit
34b1b1ee53
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