mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
Revert "check: only call setpgid on valid child PIDs"
This reverts commit b9313afc75
.
This should be fixed in upstream libcheck instead. We want
to keep diff of our local copy to upstream libcheck
to a minimum.
This commit is contained in:
parent
fe7925373d
commit
8924782dd4
1 changed files with 1 additions and 2 deletions
|
@ -571,8 +571,7 @@ check_fork (void)
|
|||
#ifdef _POSIX_VERSION
|
||||
pid_t pid = fork ();
|
||||
/* Set the process to a process group to be able to kill it easily. */
|
||||
if (pid > 0)
|
||||
setpgid (pid, group_pid);
|
||||
setpgid (pid, group_pid);
|
||||
return pid;
|
||||
#else /* _POSIX_VERSION */
|
||||
eprintf ("This version does not support fork", __FILE__, __LINE__);
|
||||
|
|
Loading…
Reference in a new issue