1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

Merge pull request #20 from thomasleveil/fix/failed-shutdown-msg

Fix failed shutdown message not displaying process name and PID
This commit is contained in:
Hongli Lai 2014-02-24 13:23:04 +01:00
commit 3d5a46482f

View File

@ -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: