mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
more pre-commmit fixes
This commit is contained in:
parent
b5b850167b
commit
5e19e2db18
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ def _run_initdb(
|
|||
"postgres.timeout", default=_DEFAULT_COMMAND_TIMEOUT_SECS
|
||||
),
|
||||
)
|
||||
cmdstr = " ".join([shlex.quote(c) for c in cmd])
|
||||
cmdstr = shlex.join(cmd)
|
||||
ret = __salt__["cmd.run_all"](cmdstr, python_shell=False, **kwargs)
|
||||
|
||||
if ret.get("retcode", 0) != 0:
|
||||
|
|
Loading…
Add table
Reference in a new issue