mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
conf: waitpid needs a cleared status
It might not change the status when the process has changed state.
This commit is contained in:
parent
0bad741d45
commit
2d4ded2384
1 changed files with 1 additions and 1 deletions
|
|
@ -586,7 +586,7 @@ static int do_exec(struct pw_context *context, const char *key, const char *args
|
|||
}
|
||||
}
|
||||
else {
|
||||
int status;
|
||||
int status = 0;
|
||||
res = waitpid(pid, &status, WNOHANG);
|
||||
pw_log_info("exec got pid %d res:%d status:%d", pid, res, status);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue