From 884ebf9142c5d2665b678a405cc44c2a645a6c02 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 9 Jun 2005 20:09:15 +0000 Subject: [PATCH] Fix prev commit - slapdn should not start any databases --- servers/slapd/slapcommon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 " -- 2.39.5