Be sure to not trigger the SIGCHLD

Signed-off-by: Martin Bremmer <martin.bremmer@adlinktech.com>
This commit is contained in:
Martin Bremmer 2019-04-24 15:13:30 +02:00 committed by eboasson
parent 289322a33d
commit 5a04db973a

View file

@ -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)