mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
make sure we lower the check on shell
This commit is contained in:
parent
9312a993a5
commit
62c66ba489
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue