From: Axel Wagner Date: Thu, 11 Nov 2010 01:59:17 +0000 (+0100) Subject: Send a SIGTERM instead of a SIGQUIT to exit the child X-Git-Tag: 4.0.1~7^2~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8301d3d9f3f00a13c38eb90f91c76bb8b3adf605;p=i3%2Fi3 Send a SIGTERM instead of a SIGQUIT to exit the child --- diff --git a/i3bar/src/child.c b/i3bar/src/child.c index 3f927b45..08d2bed9 100644 --- a/i3bar/src/child.c +++ b/i3bar/src/child.c @@ -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(); }