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-w32-6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72.tar.gz busybox-w32-6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72.tar.bz2 busybox-w32-6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72.zip |
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) | |||
78 | // goto configuration directory | 78 | // goto configuration directory |
79 | xchdir(opt_conf); | 79 | xchdir(opt_conf); |
80 | 80 | ||
81 | // // setup signals | 81 | // prevent zombies |
82 | // bb_signals(BB_FATAL_SIGS, record_signo); | 82 | signal(SIGCHLD, SIG_IGN); |
83 | 83 | ||
84 | // no explicit evdev files given? -> use proc event interface | 84 | // no explicit evdev files given? -> use proc event interface |
85 | if (!*argv) { | 85 | if (!*argv) { |