fix: stop job failed

This commit is contained in:
wangruidong 2024-07-30 18:41:29 +08:00 committed by Bryan
parent 8506ae9edd
commit b1e958d806

View File

@ -19,7 +19,7 @@ def kill_ansible_ssh_process(pid):
for child in process.children(recursive=True): for child in process.children(recursive=True):
if not _should_kill(child): if not _should_kill(child):
return continue
try: try:
child.kill() child.kill()
except Exception as e: except Exception as e: