]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit - slapdn should not start any databases
authorHoward Chu <hyc@openldap.org>
Thu, 9 Jun 2005 20:09:15 +0000 (20:09 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 9 Jun 2005 20:09:15 +0000 (20:09 +0000)
servers/slapd/slapcommon.c

index 82b60dbe97a04c40094bd7adbfbb7e81eb789179..0ef4b4e1f18b6d9ffd662a2175c14d85c1ac1782 100644 (file)
@@ -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 "