diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-18 11:35:16 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-18 11:35:16 +0000 |
commit | 6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72 (patch) | |
tree | 6dab49e13f6083c7edc1c0d7abcc3ce267ba587a | |
parent | 730106767e3a5a6d9c3f9243ffcd6ba0c501f120 (diff) | |
download | busybox-6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72.tar.gz |
acpid: prevent creation of zombies
-rw-r--r-- | util-linux/acpid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/acpid.c b/util-linux/acpid.c index ef4e54d5d..49ea52d53 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) { |