]> git.sur5r.net Git - openldap/commitdiff
ITS#3621 slaptest should start databases when dryrun is not specified
authorHoward Chu <hyc@openldap.org>
Thu, 9 Jun 2005 19:27:35 +0000 (19:27 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 9 Jun 2005 19:27:35 +0000 (19:27 +0000)
servers/slapd/slapcommon.c

index 1d72c5cf7428a0dcd214a4b38bce0a8d4b46e5ec..82b60dbe97a04c40094bd7adbfbb7e81eb789179 100644 (file)
@@ -580,7 +580,7 @@ startup:;
        mal_leaktrace(1);
 #endif
 
-       if ( !dryrun && be && slap_startup( be ) ) {
+       if ( !dryrun && slap_startup( be ) ) {
                switch ( tool ) {
                case SLAPTEST:
                        fprintf( stderr, "slap_startup failed "