summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-18 11:35:16 +0000
committerDenis Vlasenko2009-04-18 11:35:16 +0000
commit6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72 (patch)
tree6dab49e13f6083c7edc1c0d7abcc3ce267ba587a
parent730106767e3a5a6d9c3f9243ffcd6ba0c501f120 (diff)
downloadbusybox-6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72.zip
busybox-6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72.tar.gz
acpid: prevent creation of zombies
-rw-r--r--util-linux/acpid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/acpid.c b/util-linux/acpid.c
index ef4e54d..49ea52d 100644
--- a/util-linux/acpid.c
+++ b/util-linux/acpid.c
@@ -78,8 +78,8 @@ int acpid_main(int argc, char **argv)
// goto configuration directory
xchdir(opt_conf);
-// // setup signals
-// bb_signals(BB_FATAL_SIGS, record_signo);
+ // prevent zombies
+ signal(SIGCHLD, SIG_IGN);
// no explicit evdev files given? -> use proc event interface
if (!*argv) {