Changed sigchld signal
This commit is contained in:
parent
6c73f31670
commit
da55a193dd
@ -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
|
||||||
|
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user