mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
further refinement of ITS#3461
This commit is contained in:
parent
b381e1bcc8
commit
d5238b91eb
@ -531,7 +531,19 @@ startup:;
|
||||
#endif
|
||||
|
||||
if ( !dryrun && slap_startup( be ) ) {
|
||||
fprintf( stderr, "slap_startup failed\n" );
|
||||
|
||||
switch ( tool ) {
|
||||
case SLAPTEST:
|
||||
fprintf( stderr, "slap_startup failed "
|
||||
"(test would succeed using "
|
||||
"the -u switch)\n" );
|
||||
break;
|
||||
|
||||
default:
|
||||
fprintf( stderr, "slap_startup failed\n" );
|
||||
break;
|
||||
}
|
||||
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user