From: Axel Wagner Date: Sun, 26 Dec 2010 13:45:31 +0000 (+0100) Subject: Send child a SIGCONT, so it reacts to SIGTERM (no zombies \o/) X-Git-Tag: 4.0.1~7^2~34 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=29aaced9008d107a8c20c14d66e4710b78468c76;p=i3%2Fi3 Send child a SIGCONT, so it reacts to SIGTERM (no zombies \o/) --- 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();