MXS-1045: Delete default SIGCHLD handler
If the default signal handler is not deleted for the original parent process, the forked daemon process never receives the signals.
This commit is contained in:
parent
943aa48fb5
commit
21098e0a26
@ -1037,6 +1037,11 @@ bool disable_signals(void)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!delete_signal(&sigset, SIGCHLD, "SIGCHLD"))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef SIGBUS
|
||||
if (!delete_signal(&sigset, SIGBUS, "SIGBUS"))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user