acpid: prevent creation of zombies
This commit is contained in:
parent
730106767e
commit
6a07d1fb5c
@ -78,8 +78,8 @@ int acpid_main(int argc, char **argv)
|
|||||||
// goto configuration directory
|
// goto configuration directory
|
||||||
xchdir(opt_conf);
|
xchdir(opt_conf);
|
||||||
|
|
||||||
// // setup signals
|
// prevent zombies
|
||||||
// bb_signals(BB_FATAL_SIGS, record_signo);
|
signal(SIGCHLD, SIG_IGN);
|
||||||
|
|
||||||
// no explicit evdev files given? -> use proc event interface
|
// no explicit evdev files given? -> use proc event interface
|
||||||
if (!*argv) {
|
if (!*argv) {
|
||||||
|
Loading…
Reference in New Issue
Block a user