From: Jeff Trawick Date: Tue, 2 Oct 2012 11:33:34 +0000 (+0000) Subject: follow up to r1387633: use the right exit code depending on the error scenario X-Git-Tag: 2.5.0-alpha~6249 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5584db9a3a38991263b15faa6330beedcc9f296;p=apache follow up to r1387633: use the right exit code depending on the error scenario git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1392850 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 0c6254e1ec..ae0fd37461 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -571,8 +571,9 @@ static void child_main(int child_num_arg) if (!die_now) { ap_log_error(APLOG_MARK, APLOG_EMERG, status, ap_server_conf, APLOGNO(00157) "Couldn't add listener to pollset; check system or user limits"); + clean_child_exit(APEXIT_CHILDSICK); } - clean_child_exit(APEXIT_CHILDSICK); + clean_child_exit(0); } lr->accept_func = ap_unixd_accept;