From: Michael Stapelberg Date: Sat, 15 Oct 2011 15:56:47 +0000 (+0100) Subject: Bugfix: Use _exit in forking to avoid calling the libev cleanup handler (Thanks xeen) X-Git-Tag: 4.1~99 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=914ca6cfe719a5dd997f03132840cfd5600bfd09;p=i3%2Fi3 Bugfix: Use _exit in forking to avoid calling the libev cleanup handler (Thanks xeen) --- diff --git a/src/startup.c b/src/startup.c index 66cb5285..388ac502 100644 --- a/src/startup.c +++ b/src/startup.c @@ -123,7 +123,7 @@ void start_application(const char *command) { execl(shell, shell, "-c", command, (void*)NULL); /* not reached */ } - exit(0); + _exit(0); } wait(0);