Fix prev commit - slapdn should not start any databases

This commit is contained in:
Howard Chu 2005-06-09 20:09:15 +00:00
parent 7b72a9bc99
commit 884ebf9142

View File

@ -580,7 +580,8 @@ startup:;
mal_leaktrace(1); mal_leaktrace(1);
#endif #endif
if ( !dryrun && slap_startup( be ) ) { /* slapdn doesn't specify a backend to startup */
if ( !dryrun && tool != SLAPDN && slap_startup( be ) ) {
switch ( tool ) { switch ( tool ) {
case SLAPTEST: case SLAPTEST:
fprintf( stderr, "slap_startup failed " fprintf( stderr, "slap_startup failed "