From: Howard Chu Date: Thu, 9 Jun 2005 20:09:15 +0000 (+0000) Subject: Fix prev commit - slapdn should not start any databases X-Git-Tag: OPENLDAP_AC_BP~559 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=884ebf9142c5d2665b678a405cc44c2a645a6c02;p=openldap Fix prev commit - slapdn should not start any databases --- diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index 82b60dbe97..0ef4b4e1f1 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -580,7 +580,8 @@ startup:; mal_leaktrace(1); #endif - if ( !dryrun && slap_startup( be ) ) { + /* slapdn doesn't specify a backend to startup */ + if ( !dryrun && tool != SLAPDN && slap_startup( be ) ) { switch ( tool ) { case SLAPTEST: fprintf( stderr, "slap_startup failed "