From e6ed981ab91fc3732bcb6212df8bee1143b431d4 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Fri, 22 Jul 2005 07:55:45 +0000 Subject: [PATCH] Don't fail if no group plugins --- servers/slapd/slapi/slapi_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index 7772467ec6..e377377a8a 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -930,7 +930,7 @@ slapi_over_acl_group( slapi_pblock_set( pb, SLAPI_X_GROUP_TARGET_ENTRY, (void *)target ); rc = slapi_int_call_plugins( op->o_bd, SLAPI_X_PLUGIN_PRE_GROUP_FN, pb ); - if ( rc == 0 ) + if ( rc >= 0 ) /* 1 means no plugins called */ rc = SLAP_CB_CONTINUE; else slapi_pblock_get( pb, SLAPI_RESULT_CODE, (void **)&rc ); -- 2.39.5