aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-09-12 15:44:53 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-09-12 15:44:53 +0000
commit1db123e0c6ce60f29f4966ff127b28764eeb1895 (patch)
tree71c8cef8ac84e372d501c678706880c833d871e5 /init
parent88c2c8ada3b5fea55faf1af4e93ece6ee407ed84 (diff)
downloadbusybox-w32-1db123e0c6ce60f29f4966ff127b28764eeb1895.tar.gz
busybox-w32-1db123e0c6ce60f29f4966ff127b28764eeb1895.tar.bz2
busybox-w32-1db123e0c6ce60f29f4966ff127b28764eeb1895.zip
Patch from Thomas Gleixner <tglx@linutronix.de> to do
automatic child reaping to avoid zombies git-svn-id: svn://busybox.net/trunk/busybox@5483 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r--init/init.c1
1 files changed, 1 insertions, 0 deletions
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)
1061 signal(SIGCONT, cont_handler); 1061 signal(SIGCONT, cont_handler);
1062 signal(SIGSTOP, stop_handler); 1062 signal(SIGSTOP, stop_handler);
1063 signal(SIGTSTP, stop_handler); 1063 signal(SIGTSTP, stop_handler);
1064 signal(SIGCHLD, SIG_IGN);
1064 1065
1065 /* Turn off rebooting via CTL-ALT-DEL -- we get a 1066 /* Turn off rebooting via CTL-ALT-DEL -- we get a
1066 * SIGINT on CAD so we can shut things down gracefully... */ 1067 * SIGINT on CAD so we can shut things down gracefully... */