mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge branch '2016.11' into 2016.11local
This commit is contained in:
commit
e3b2857285
1 changed files with 2 additions and 1 deletions
|
@ -378,7 +378,8 @@ def _run(cmd,
|
|||
msg = 'missing salt/utils/win_runas.py'
|
||||
raise CommandExecutionError(msg)
|
||||
|
||||
cmd = ' '.join(cmd)
|
||||
if isinstance(cmd, (list, tuple)):
|
||||
cmd = ' '.join(cmd)
|
||||
|
||||
return win_runas(cmd, runas, password, cwd)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue