From: Howard Chu Date: Tue, 5 Jul 2005 02:40:01 +0000 (+0000) Subject: ITS#3833 assume environment was already recovered by an external action X-Git-Tag: OPENLDAP_AC_BP~450 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3232686cc17eae038c082a733457700660a01d4a;p=openldap ITS#3833 assume environment was already recovered by an external action if it's missing, just succeed in this case. --- diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index d8fea3b380..a2810c1eca 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -209,7 +209,10 @@ bdb_db_recover( BackendDB *be ) #endif if( rc == ENOENT ) { - goto re_exit; + Debug( LDAP_DEBUG_TRACE, + "bdb_db_recover: DB environment files are missing, assuming it was " + "manually recovered\n", 0, 0, 0 ); + return 0; } else if( rc != 0 ) { Debug( LDAP_DEBUG_ANY,