diff options
Diffstat (limited to 'slowcgi.c')
-rw-r--r-- | slowcgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -556,7 +556,7 @@ slowcgi_sig_handler(int sig, short event, void *arg) switch (sig) { case SIGCHLD: - while ((pid = waitpid(WAIT_ANY, &status, WNOHANG)) > 0) { + while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { c = NULL; SLIST_FOREACH(ncs, &p->requests, entry) if (ncs->request->script_pid == pid) { |