mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
Test error code from doPluginFNs() correctly
This commit is contained in:
parent
721ea2046e
commit
54392b6527
1 changed files with 3 additions and 1 deletions
|
|
@ -149,7 +149,9 @@ slap_init( int mode, const char *name )
|
|||
if( rc == 0 ) {
|
||||
Slapi_PBlock *pb = slapi_pblock_new();
|
||||
|
||||
rc = doPluginFNs( NULL, SLAPI_PLUGIN_START_FN, pb );
|
||||
if ( doPluginFNs( NULL, SLAPI_PLUGIN_START_FN, pb ) < 0 ) {
|
||||
rc = -1;
|
||||
}
|
||||
slapi_pblock_destroy( pb );
|
||||
}
|
||||
#endif /* LDAP_SLAPI */
|
||||
|
|
|
|||
Loading…
Reference in a new issue