]> git.sur5r.net Git - openldap/commitdiff
Silently ignore if back-ldif is not present
authorHoward Chu <hyc@openldap.org>
Thu, 17 Mar 2005 23:47:20 +0000 (23:47 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 17 Mar 2005 23:47:20 +0000 (23:47 +0000)
servers/slapd/bconfig.c

index e83f6c737b9683ee0c73c6a2d4b7c3a9cb0acdc3..d8d88704093b99a79bf6c127f552581b19505d0f 100644 (file)
@@ -2586,7 +2586,7 @@ config_setup_ldif( BackendDB *be, const char *dir ) {
 
        cfb->cb_db.bd_info = backend_info( "ldif" );
        if ( !cfb->cb_db.bd_info )
-               return 1;
+               return 0;       /* FIXME: eventually this will be a fatal error */
 
        if ( cfb->cb_db.bd_info->bi_db_init( &cfb->cb_db )) return 1;