summaryrefslogtreecommitdiff
path: root/src/providers/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/proxy')
-rw-r--r--src/providers/proxy/proxy_id.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c
index 060c4723..aa98507b 100644
--- a/src/providers/proxy/proxy_id.c
+++ b/src/providers/proxy/proxy_id.c
@@ -867,6 +867,9 @@ static int get_gr_name(TALLOC_CTX *mem_ctx,
" deleting!\n", name));
ret = sysdb_delete_group(sysdb, NULL, gid);
+ if (ret == ENOENT) {
+ ret = EOK;
+ }
goto done;
}
@@ -936,6 +939,9 @@ static int get_gr_gid(TALLOC_CTX *mem_ctx,
" deleting!\n", gid));
ret = sysdb_delete_group(sysdb, NULL, gid);
+ if (ret == ENOENT) {
+ ret = EOK;
+ }
goto done;
}