mirror of
/repos/baseimage-docker.git
synced 2025-12-30 08:01:31 +01:00
fix failed shutdown message not displaying process name and PID
This commit is contained in:
parent
3eec5201da
commit
1443856c34
@ -75,7 +75,7 @@ def stop_child_process(name, pid, signo = signal.SIGTERM, time_limit = KILL_PROC
|
||||
except OSError:
|
||||
pass
|
||||
except AlarmException:
|
||||
warn("%s (PID %d) did not shut down in time. Forcing it to exit.")
|
||||
warn("%s (PID %d) did not shut down in time. Forcing it to exit." % (name, pid))
|
||||
try:
|
||||
os.kill(pid, signal.SIGKILL)
|
||||
except OSError:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user