summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-04-26 11:20:13 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-05-02 08:10:17 -0400
commit66b927a4f19f18f2ed07be416747817037b47909 (patch)
treeea802d6e12edb286b3bb6efb55f57d44987e7132 /src/providers
parent26d72997b0a97a24015b776e41a430e8c874995f (diff)
downloadsssd-66b927a4f19f18f2ed07be416747817037b47909.tar.gz
sssd-66b927a4f19f18f2ed07be416747817037b47909.tar.bz2
sssd-66b927a4f19f18f2ed07be416747817037b47909.zip
IPA netgroups: return EOK when there are no netgroups to process
If the code fell through the loop, ret would have been random value.
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ipa/ipa_netgroups.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_netgroups.c b/src/providers/ipa/ipa_netgroups.c
index a8e0d344..3aedf531 100644
--- a/src/providers/ipa/ipa_netgroups.c
+++ b/src/providers/ipa/ipa_netgroups.c
@@ -994,6 +994,7 @@ static int ipa_netgr_process_all(struct ipa_get_netgroups_state *state)
}
}
+ ret = EOK;
done:
return ret;
}