mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
make sure we lower the check on shell
This commit is contained in:
parent
9312a993a5
commit
62c66ba489
@ -2127,7 +2127,7 @@ def script(source,
|
||||
os.chmod(path, 320)
|
||||
os.chown(path, __salt__['file.user_to_uid'](runas), -1)
|
||||
|
||||
if salt.utils.is_windows() and shell != 'powershell':
|
||||
if salt.utils.is_windows() and shell.lower() != 'powershell':
|
||||
path = _cmd_quote(path, escape=False)
|
||||
else:
|
||||
path = _cmd_quote(path)
|
||||
|
Loading…
Reference in New Issue
Block a user