mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#2868 check result from slap_startup
This commit is contained in:
parent
313bb1dcae
commit
67ee75ccd8
@ -412,7 +412,10 @@ slap_tool_init(
|
||||
mal_leaktrace(1);
|
||||
#endif
|
||||
|
||||
slap_startup( be );
|
||||
if ( slap_startup( be ) ) {
|
||||
fprintf( stderr, "slap_startup failed\n" );
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
}
|
||||
|
||||
void slap_tool_destroy( void )
|
||||
|
Loading…
Reference in New Issue
Block a user