From da55a193ddb1661dfca091e8e60e1edeb37d6092 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 22 Mar 2004 14:04:51 +0000 Subject: [PATCH] Changed sigchld signal --- ChangeLog | 3 +++ mbtask/mbtask.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index fcee228a..0020a6b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ $Id$ v0.51.3 22-Mar-2003 + mbtask: + Signal handler for sigchld set to sig_dfl, test for Fedora. + v0.51.2 06-Mar-2004 - 22-Mar-2003 diff --git a/mbtask/mbtask.c b/mbtask/mbtask.c index e7f08b20..16b2377e 100644 --- a/mbtask/mbtask.c +++ b/mbtask/mbtask.c @@ -1383,6 +1383,8 @@ int main(int argc, char **argv) signal(i, (void (*))die); else if ((i == SIGINT) || (i == SIGTERM)) signal(i, (void (*))start_shutdown); + else if (i == SIGCHLD) + signal(i, SIG_DFL); else if ((i != SIGKILL) && (i != SIGSTOP)) signal(i, SIG_IGN); }