further refinement of ITS#3461

This commit is contained in:
Pierangelo Masarati 2005-01-12 14:31:03 +00:00
parent b381e1bcc8
commit d5238b91eb

View File

@ -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 );
}
}