mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't log powershell command
This commit is contained in:
parent
499c8ea103
commit
6aab93fcf2
1 changed files with 0 additions and 1 deletions
|
@ -43,7 +43,6 @@ def run_dict(cmd, cwd=None):
|
|||
cmd = f"{cmd} | ConvertTo-Json"
|
||||
if "progresspreference" not in cmd.lower():
|
||||
cmd = f"$ProgressPreference = 'SilentlyContinue'; {cmd}"
|
||||
log.debug("PowerShell: %s", cmd)
|
||||
ret = __salt__["cmd.run_all"](cmd, shell="powershell", cwd=cwd)
|
||||
|
||||
if "pid" in ret:
|
||||
|
|
Loading…
Add table
Reference in a new issue