]> Dogcows Code - chaz/tint2/blobdiff - src/tint.c
fixed defunct process after fork
[chaz/tint2] / src / tint.c
index d062c703126d7006058509eabee1b1977525ac63..dc90b02220b5e220211383b7dcfb2b9a8a989e44 100644 (file)
@@ -53,6 +53,7 @@ void init ()
        signal(SIGINT, signal_handler);
        signal(SIGTERM, signal_handler);
        signal(SIGHUP, signal_handler);
+       signal(SIGCLD, SIG_IGN);                // don't have to wait() after fork()
 
    // set global data
    memset(&server, 0, sizeof(Server_global));
This page took 0.024472 seconds and 4 git commands to generate.