mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Set this back to the original value. (Fixes salt-ssh bug)
This commit is contained in:
parent
7abc25f67f
commit
ee652333dd
@ -735,7 +735,7 @@ class Single(object):
|
||||
else:
|
||||
# RSTR was found in stdout but not stderr - which means there
|
||||
# is a SHIM command for the master.
|
||||
shim_command = re.split(r'\r?\n', stdout, 1)[1].strip()
|
||||
shim_command = re.split(r'\r?\n', stdout, 1)[0].strip()
|
||||
if 'deploy' == shim_command and retcode == salt.exitcodes.EX_THIN_DEPLOY:
|
||||
self.deploy()
|
||||
stdout, stderr, retcode = self.shell.exec_cmd(cmd_str)
|
||||
|
Loading…
Reference in New Issue
Block a user