mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
commit
11224456eb
@ -89,7 +89,7 @@ def clean_proc(proc, wait_for_kill=10):
|
||||
proc.pid
|
||||
)
|
||||
)
|
||||
os.kill(signal.SIGKILL, proc.pid)
|
||||
os.kill(proc.pid, signal.SIGKILL)
|
||||
except (AssertionError, AttributeError):
|
||||
# Catch AssertionError when the proc is evaluated inside the child
|
||||
# Catch AttributeError when the process dies between proc.is_alive()
|
||||
|
Loading…
Reference in New Issue
Block a user