From 7d64b627e5e0aca4ee3475418b7b8c74601078a1 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Tue, 7 Oct 2014 15:35:56 +0000 Subject: [PATCH] core: follow up to r1629909: ap_daemons_to_start can't be lower than 1 (not 0) for prefork either. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629916 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/prefork/prefork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 318d5de0f3..010ac93d93 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -1486,7 +1486,7 @@ static int prefork_check_config(apr_pool_t *p, apr_pool_t *plog, } /* ap_daemons_to_start > ap_daemons_limit checked in prefork_run() */ - if (ap_daemons_to_start < 0) { + if (ap_daemons_to_start < 1) { if (startup) { ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_STARTUP, 0, NULL, APLOGNO(00184) "WARNING: StartServers of %d not allowed, " -- 2.40.0