mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #22625 from rallytime/bp-22565
Backport #22565 to 2014.7
This commit is contained in:
commit
a219be7c07
@ -350,7 +350,7 @@ class Shell(object):
|
||||
elif stdout and stdout.endswith('_||ext_mods||_'):
|
||||
mods_raw = json.dumps(self.mods, separators=(',', ':')) + '|_E|0|'
|
||||
term.sendline(mods_raw)
|
||||
time.sleep(0.5)
|
||||
time.sleep(0.01)
|
||||
return ret_stdout, ret_stderr, term.exitstatus
|
||||
finally:
|
||||
term.close(terminate=True, kill=True)
|
||||
|
Loading…
Reference in New Issue
Block a user