From: Todd C. Miller Date: Tue, 24 May 1994 16:13:26 +0000 (+0000) Subject: reinstall reapchild signal handler for non-bsd signals X-Git-Tag: SUDO_1_3_1~261 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1dd6045c9f078b6bae053216f4d2221442a3cf5;p=sudo reinstall reapchild signal handler for non-bsd signals --- diff --git a/logging.c b/logging.c index 375f7abe1..ad27bf193 100644 --- a/logging.c +++ b/logging.c @@ -436,12 +436,13 @@ static void send_mail() * * reapchild() * - * This function gets rid fo all the ugly zombies + * This function gets rid of all the ugly zombies */ static RETSIGTYPE reapchild() { - (void) wait(NULL); + (void) wait(NULL); + (void) signal(SIGCHLD, reapchild); }