From 1443856c34ee5cabc734409ba98a2a1c1611ac13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=89VEIL?= Date: Sat, 22 Feb 2014 16:36:41 +0100 Subject: [PATCH] fix failed shutdown message not displaying process name and PID --- image/my_init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/my_init b/image/my_init index 8dc911b..91aa3fb 100755 --- a/image/my_init +++ b/image/my_init @@ -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: