From ff0522fe95f9ac35754ac4a73d9d78195ebe6d05 Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Sun, 26 Dec 2010 14:45:31 +0100 Subject: [PATCH] Bugfix: Send child a SIGCONT, so it reacts to SIGTERM (no zombies \o/) --- i3bar/src/child.c | 1 + 1 file changed, 1 insertion(+) diff --git a/i3bar/src/child.c b/i3bar/src/child.c index 7cd364e0..3092d527 100644 --- a/i3bar/src/child.c +++ b/i3bar/src/child.c @@ -157,6 +157,7 @@ void start_child(char *command) { */ void kill_child() { if (child_pid != 0) { + kill(child_pid, SIGCONT); kill(child_pid, SIGTERM); } cleanup(); -- 2.39.5