From: Alex Badea Date: Tue, 14 Sep 2010 20:32:05 +0000 (+0300) Subject: daemon: ignore SIGCHLD to prevent zombies X-Git-Url: http://git.maemo.org/git/?p=espeaktime;a=commitdiff_plain;h=de03e3d954981c59698b91f055cbc4fc4293b79d daemon: ignore SIGCHLD to prevent zombies --- diff --git a/src/daemon.c b/src/daemon.c index a7bbeaf..a645b35 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -183,6 +183,7 @@ int main(int argc, char *argv[]) g_debug("init"); memset(&app, 0, sizeof(app)); + signal(SIGCHLD, SIG_IGN); g_type_init(); loop = g_main_loop_new(NULL, FALSE);