]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Use _exit in forking to avoid calling the libev cleanup handler (Thanks xeen)
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 15 Oct 2011 15:56:47 +0000 (16:56 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 15 Oct 2011 15:56:47 +0000 (16:56 +0100)
src/startup.c

index 66cb5285231d91a3cb43ebc29d7daa67c8f30ace..388ac5028f933413043c4dd0c1a8f375913f8f29 100644 (file)
@@ -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);