Skip to content
Snippets Groups Projects
Commit c2dc14aa authored by Chris Hines's avatar Chris Hines
Browse files
parent 6ce46c31
No related branches found
No related tags found
3 merge requests!77Revert "disable agressive kill and restart",!39Test,!38Dev
...@@ -327,7 +327,7 @@ class Ssh: ...@@ -327,7 +327,7 @@ class Ssh:
except subprocess.TimeoutExpired as e: except subprocess.TimeoutExpired as e:
exec_p.kill() exec_p.kill()
(stdout, stderr) = exec_p.communicate(timeout=TIMEOUT) (stdout, stderr) = exec_p.communicate(timeout=TIMEOUT)
if exec_p.returncode != 0: if exec_p.returncode != 0 or b'Control socket connect' in stderr:
try: try:
ctrl_p = sess.ctrl_processes[ctrlsocket] ctrl_p = sess.ctrl_processes[ctrlsocket]
except KeyError as e: except KeyError as e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment