mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-04-27 19:17:01 +00:00
fix: stop job failed
This commit is contained in:
parent
8506ae9edd
commit
b1e958d806
@ -19,7 +19,7 @@ def kill_ansible_ssh_process(pid):
|
||||
|
||||
for child in process.children(recursive=True):
|
||||
if not _should_kill(child):
|
||||
return
|
||||
continue
|
||||
try:
|
||||
child.kill()
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user