From 32f4d1f4c7300a31cc907a104e28afba71d24446 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 1 Jul 2000 21:26:37 +0000 Subject: MFC: enable SIGCHLD for childs --- usr.sbin/cron/cron/do_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/cron/cron/do_command.c b/usr.sbin/cron/cron/do_command.c index 4bac47ebc4dc..009d21ba8c12 100644 --- a/usr.sbin/cron/cron/do_command.c +++ b/usr.sbin/cron/cron/do_command.c @@ -109,7 +109,7 @@ child_process(e, u) * use wait() explictly. so we have to disable the signal (which * was inherited from the parent). */ - (void) signal(SIGCHLD, SIG_IGN); + (void) signal(SIGCHLD, SIG_DFL); #else /* on system-V systems, we are ignoring SIGCLD. we have to stop * ignoring it now or the wait() in cron_pclose() won't work. -- cgit v1.3