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
parent 74ca68e550
commit e9f6ec6f48

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)