mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
cleanup
This commit is contained in:
parent
b3705e69f4
commit
a190d15a60
@ -191,14 +191,14 @@ slap_tool_init(
|
|||||||
|
|
||||||
rc = slap_init( mode, progname );
|
rc = slap_init( mode, progname );
|
||||||
|
|
||||||
if (rc != 0 ) {
|
if ( rc != 0 ) {
|
||||||
fprintf( stderr, "%s: slap_init failed!\n", progname );
|
fprintf( stderr, "%s: slap_init failed!\n", progname );
|
||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = slap_schema_init();
|
rc = slap_schema_init();
|
||||||
|
|
||||||
if (rc != 0 ) {
|
if ( rc != 0 ) {
|
||||||
fprintf( stderr, "%s: slap_schema_init failed!\n", progname );
|
fprintf( stderr, "%s: slap_schema_init failed!\n", progname );
|
||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
@ -217,14 +217,14 @@ slap_tool_init(
|
|||||||
|
|
||||||
rc = glue_sub_init();
|
rc = glue_sub_init();
|
||||||
|
|
||||||
if (rc != 0 ) {
|
if ( rc != 0 ) {
|
||||||
fprintf( stderr, "Subordinate configuration error\n" );
|
fprintf( stderr, "Subordinate configuration error\n" );
|
||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = slap_schema_check();
|
rc = slap_schema_check();
|
||||||
|
|
||||||
if (rc != 0 ) {
|
if ( rc != 0 ) {
|
||||||
fprintf( stderr, "%s: slap_schema_prep failed!\n", progname );
|
fprintf( stderr, "%s: slap_schema_prep failed!\n", progname );
|
||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user