]> git.sur5r.net Git - i3/i3/commitdiff
Send a SIGTERM instead of a SIGQUIT to exit the child
authorAxel Wagner <mail@merovius.de>
Thu, 11 Nov 2010 01:59:17 +0000 (02:59 +0100)
committerAxel Wagner <mail@merovius.de>
Thu, 11 Nov 2010 01:59:17 +0000 (02:59 +0100)
i3bar/src/child.c

index 3f927b4532043cb7b2a09228d30777621884123f..08d2bed9e6cb552f8424185f337f8f45fad647ff 100644 (file)
@@ -184,7 +184,7 @@ void start_child(char *command) {
  */
 void kill_child() {
     if (child_pid != 0) {
-        kill(child_pid, SIGQUIT);
+        kill(child_pid, SIGTERM);
     }
     cleanup();
 }