From: Denis Vlasenko Date: Sat, 18 Apr 2009 11:35:16 +0000 (-0000) Subject: acpid: prevent creation of zombies X-Git-Tag: 1_15_0~319 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6a07d1fb5c89c7710d91b74b21fe26eafa1f7a72;p=oweals%2Fbusybox.git acpid: prevent creation of zombies --- 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) {