Be sure to not trigger the SIGCHLD
Signed-off-by: Martin Bremmer <martin.bremmer@adlinktech.com>
This commit is contained in:
parent
74ca68e550
commit
e9f6ec6f48
1 changed files with 3 additions and 0 deletions
|
@ -181,6 +181,9 @@ ddsrt_proc_create(
|
|||
goto fail_fctl;
|
||||
}
|
||||
|
||||
/* Be sure to not trigger the SIGCHLD. */
|
||||
signal(SIGCHLD, SIG_DFL);
|
||||
|
||||
/* Create a new process. */
|
||||
spawn = fork();
|
||||
if (spawn == -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue