diff options
author | Denis Vlasenko | 2009-04-18 11:35:16 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-04-18 11:35:16 +0000 |
commit | 6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72 (patch) | |
tree | 6dab49e13f6083c7edc1c0d7abcc3ce267ba587a /util-linux | |
parent | 730106767e3a5a6d9c3f9243ffcd6ba0c501f120 (diff) | |
download | busybox-6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72.zip busybox-6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72.tar.gz |
acpid: prevent creation of zombies
Diffstat (limited to 'util-linux')
-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 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) { |