mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
ITS#2868 check result from slap_startup
This commit is contained in:
parent
313bb1dcae
commit
67ee75ccd8
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue