From: Jeff Trawick Date: Mon, 24 Dec 2001 21:00:18 +0000 (+0000) Subject: fix a horrible bug which caused scoreboard initialation to always exit X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36b26c2b30836006acd4170fbe9808bf7592f45c;p=apache fix a horrible bug which caused scoreboard initialation to always exit git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92595 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/scoreboard.c b/server/scoreboard.c index eb1bb49275..73b8880949 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -219,7 +219,9 @@ AP_DECLARE_NONSTD(void) ap_create_scoreboard(apr_pool_t *p, ap_scoreboard_e sb_t calc_scoreboard_size(); if (sb_type == SB_SHARED) { rv = setup_shared(p); - exit(APEXIT_INIT); /* XXX need to return an error from this function */ + if (rv) { + exit(APEXIT_INIT); /* XXX need to return an error from this function */ + } } else { /* A simple malloc will suffice */