Merge branch '2016.11' into 2016.11local

This commit is contained in:
garethgreenaway 2017-10-03 11:50:29 -07:00 committed by GitHub
commit e3b2857285

View file

@ -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)