]> git.sur5r.net Git - openldap/commitdiff
ITS#4565 catch errors from slap_sasl_init / backend_init
authorHoward Chu <hyc@openldap.org>
Thu, 14 Sep 2006 04:52:08 +0000 (04:52 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 14 Sep 2006 04:52:08 +0000 (04:52 +0000)
servers/slapd/init.c

index a69cefe73ce73c6e7b9541a0b0fc6aebee92f749..f92590872c214da1c03ba835257fdbd2f4b15cd3 100644 (file)
@@ -169,6 +169,8 @@ slap_init( int mode, const char *name )
                if( rc == 0 ) {
                        rc = backend_init( );
                }
+               if ( rc )
+                       return rc;
 
                break;