]> git.sur5r.net Git - openldap/commitdiff
Fix no backend type case in backend_init.
authorKurt Zeilenga <kurt@openldap.org>
Sat, 6 Feb 1999 15:56:14 +0000 (15:56 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 6 Feb 1999 15:56:14 +0000 (15:56 +0000)
servers/slapd/backend.c

index e97914d0a8bdd4941135d64b17e0665dda8be1fe..41f0b5ed2e49e62ec495cd1e38b9690ac564da0a 100644 (file)
@@ -93,8 +93,7 @@ int backend_init(void)
                "backend_init: failed\n",
                0, 0, 0 );
 
-
-       return rc;
+       return rc ? rc : -1;
 }
 
 int backend_startup(int n)