]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Send child a SIGCONT, so it reacts to SIGTERM (no zombies \o/)
authorAxel Wagner <mail@merovius.de>
Sun, 26 Dec 2010 13:45:31 +0000 (14:45 +0100)
committerAxel Wagner <mail@merovius.de>
Sun, 26 Dec 2010 13:48:39 +0000 (14:48 +0100)
i3bar/src/child.c

index 7cd364e0391d3b407db084dfb2957b0cea81027e..3092d527056d081371c48a9c4d78f7997f13c114 100644 (file)
@@ -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();