From: Eric Andersen Date: Thu, 12 Sep 2002 15:44:53 +0000 (-0000) Subject: Patch from Thomas Gleixner to do X-Git-Tag: 0_60_4~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=186685d46fa6a15a328509543bb354d43bc719b0;p=oweals%2Fbusybox.git Patch from Thomas Gleixner to do automatic child reaping to avoid zombies --- diff --git a/init/init.c b/init/init.c index 7ab50cffe..013f55c68 100644 --- a/init/init.c +++ b/init/init.c @@ -1061,6 +1061,7 @@ extern int init_main(int argc, char **argv) signal(SIGCONT, cont_handler); signal(SIGSTOP, stop_handler); signal(SIGTSTP, stop_handler); + signal(SIGCHLD, SIG_IGN); /* Turn off rebooting via CTL-ALT-DEL -- we get a * SIGINT on CAD so we can shut things down gracefully... */