mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Some environments refuse to return the command output
This results in the output from salt-ssh being empty, this fix ensures that the output is always there
This commit is contained in:
parent
d75005c519
commit
10037b00cb
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ def main(argv): # pylint: disable=W0613
|
|||
subprocess.call(salt_argv)
|
||||
shutil.rmtree(OPTIONS.saltdir)
|
||||
else:
|
||||
os.execv(sys.executable, salt_argv)
|
||||
subprocess.call(salt_argv)
|
||||
if OPTIONS.cmd_umask is not None:
|
||||
os.umask(old_umask)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue