diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 732ca50..f800ad4 100644 --- a/src/process.c +++ b/src/process.c @@ -34,7 +34,7 @@ static int wait_for_child(pid_t pid, int *ec) { int status; - pid_t ret = waitpid(pid, &status, 0); + pid_t ret = waitpid(pid, &status, __WNOTHREAD); if (ret < 0) { log_errno("waitpid"); return ret; |