Skip to content

Commit

Permalink
follow up to r1387633: use the right exit code depending on the error…
Browse files Browse the repository at this point in the history
… scenario

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1392850 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
trawick committed Oct 2, 2012
1 parent 350f28b commit 20f3ce1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/mpm/prefork/prefork.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -571,8 +571,9 @@ static void child_main(int child_num_arg)
if (!die_now) { if (!die_now) {
ap_log_error(APLOG_MARK, APLOG_EMERG, status, ap_server_conf, APLOGNO(00157) ap_log_error(APLOG_MARK, APLOG_EMERG, status, ap_server_conf, APLOGNO(00157)
"Couldn't add listener to pollset; check system or user limits"); "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; lr->accept_func = ap_unixd_accept;
Expand Down

0 comments on commit 20f3ce1

Please sign in to comment.