diff options
author | Robert Swiecki <robert@swiecki.net> | 2019-02-10 14:53:02 +0100 |
---|---|---|
committer | Robert Swiecki <robert@swiecki.net> | 2019-02-10 14:53:02 +0100 |
commit | 185565714e5fd9f4449c2277e6d030196284fe00 (patch) | |
tree | bb878e0c6290dafe7168263638956140fd017aeb /netbsd | |
parent | 9eb0b66e47d724b922772bdb7868c48fe3617fe5 (diff) | |
download | honggfuzz-185565714e5fd9f4449c2277e6d030196284fe00.tar.gz |
netbsd: wait logic
Diffstat (limited to 'netbsd')
-rw-r--r-- | netbsd/arch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netbsd/arch.c b/netbsd/arch.c index 0cb762c6..dd32d116 100644 --- a/netbsd/arch.c +++ b/netbsd/arch.c @@ -137,7 +137,7 @@ static bool arch_checkWait(run_t* run) { /* All queued wait events must be tested when SIGCHLD was delivered */ for (;;) { int status; - int wflags = WALLSIG | WNOHANG | WTRAPPED; + int wflags = WALLSIG | WTRAPPED | WEXITED; if (run->global->exe.persistent) { wflags |= WNOHANG; } |