From 914ca6cfe719a5dd997f03132840cfd5600bfd09 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 15 Oct 2011 16:56:47 +0100 Subject: [PATCH] Bugfix: Use _exit in forking to avoid calling the libev cleanup handler (Thanks xeen) --- src/startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);