mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #12227 from tmartinfr/psql-clean-env
Clean environment before calling psql
This commit is contained in:
commit
11a955e66f
@ -72,7 +72,8 @@ def _run_psql(cmd, runas=None, password=None, host=None, port=None, user=None,
|
||||
makes this too much code to be repeated in each function below
|
||||
'''
|
||||
kwargs = {
|
||||
'reset_system_locale': False
|
||||
'reset_system_locale': False,
|
||||
'clean_env': True,
|
||||
}
|
||||
if runas is None:
|
||||
if not host:
|
||||
|
Loading…
Reference in New Issue
Block a user