From 8573640ff99e6a8f9c63703f543966301953cf62 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 4 Mar 2005 09:26:50 +0000 Subject: [PATCH] Fix schema init sequence --- servers/slapd/slapcommon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index 9aa87ea91a..b49c6c5325 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -312,17 +312,17 @@ slap_tool_init( } #endif - rc = slap_init( mode, progname ); + rc = slap_schema_init(); if ( rc != 0 ) { - fprintf( stderr, "%s: slap_init failed!\n", progname ); + fprintf( stderr, "%s: slap_schema_init failed!\n", progname ); exit( EXIT_FAILURE ); } - rc = slap_schema_init(); + rc = slap_init( mode, progname ); if ( rc != 0 ) { - fprintf( stderr, "%s: slap_schema_init failed!\n", progname ); + fprintf( stderr, "%s: slap_init failed!\n", progname ); exit( EXIT_FAILURE ); } -- 2.39.5