svn commit: [26147] trunk/busybox/util-linux
vda at busybox.net
vda at busybox.net
Sat Apr 18 11:35:16 UTC 2009
Author: vda
Date: 2009-04-18 11:35:16 +0000 (Sat, 18 Apr 2009)
New Revision: 26147
Log:
acpid: prevent creation of zombies
Modified:
trunk/busybox/util-linux/acpid.c
Changeset:
Modified: trunk/busybox/util-linux/acpid.c
===================================================================
--- trunk/busybox/util-linux/acpid.c 2009-04-18 11:25:18 UTC (rev 26146)
+++ trunk/busybox/util-linux/acpid.c 2009-04-18 11:35:16 UTC (rev 26147)
@@ -78,8 +78,8 @@
// 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) {
More information about the busybox-cvs
mailing list