From: Howard Chu Date: Thu, 14 Sep 2006 04:52:08 +0000 (+0000) Subject: ITS#4565 catch errors from slap_sasl_init / backend_init X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~147 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8c939e1905ae88c06b315a67d36700f8faa6bc8a;p=openldap ITS#4565 catch errors from slap_sasl_init / backend_init --- diff --git a/servers/slapd/init.c b/servers/slapd/init.c index a69cefe73c..f92590872c 100644 --- a/servers/slapd/init.c +++ b/servers/slapd/init.c @@ -169,6 +169,8 @@ slap_init( int mode, const char *name ) if( rc == 0 ) { rc = backend_init( ); } + if ( rc ) + return rc; break;