acpid: prevent creation of zombies

This commit is contained in:
Denis Vlasenko 2009-04-18 11:35:16 +00:00
parent 730106767e
commit 6a07d1fb5c

View File

@ -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) {