Changed sigchld signal

This commit is contained in:
Michiel Broek 2004-03-22 14:04:51 +00:00
parent 6c73f31670
commit da55a193dd
2 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,9 @@ $Id$
v0.51.3 22-Mar-2003 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 v0.51.2 06-Mar-2004 - 22-Mar-2003

View File

@ -1383,6 +1383,8 @@ int main(int argc, char **argv)
signal(i, (void (*))die); signal(i, (void (*))die);
else if ((i == SIGINT) || (i == SIGTERM)) else if ((i == SIGINT) || (i == SIGTERM))
signal(i, (void (*))start_shutdown); signal(i, (void (*))start_shutdown);
else if (i == SIGCHLD)
signal(i, SIG_DFL);
else if ((i != SIGKILL) && (i != SIGSTOP)) else if ((i != SIGKILL) && (i != SIGSTOP))
signal(i, SIG_IGN); signal(i, SIG_IGN);
} }