From 3232686cc17eae038c082a733457700660a01d4a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 5 Jul 2005 02:40:01 +0000 Subject: [PATCH] ITS#3833 assume environment was already recovered by an external action if it's missing, just succeed in this case. --- servers/slapd/back-bdb/init.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, -- 2.39.5