diff options
Diffstat (limited to 'threadproc/unix/proc.c')
-rw-r--r-- | threadproc/unix/proc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/threadproc/unix/proc.c b/threadproc/unix/proc.c index a611262b7..5f2c7031f 100644 --- a/threadproc/unix/proc.c +++ b/threadproc/unix/proc.c @@ -474,12 +474,12 @@ ap_status_t ap_wait_proc(struct proc_t *proc, return errno; } if ((status = waitpid(proc->pid, NULL, WUNTRACED | WNOHANG)) > 0) { - return APR_CHILD_DONE; - } - else if (status == 0) { - return APR_CHILD_NOTDONE; - } - return errno; + return APR_CHILD_DONE; + } + else if (status == 0) { + return APR_CHILD_NOTDONE; + } + return errno; } /* ***APRDOC******************************************************** |