Skip to content
Snippets Groups Projects
Commit 8573640f authored by Howard Chu's avatar Howard Chu
Browse files

Fix schema init sequence

parent 5616daf9
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment