summaryrefslogtreecommitdiff
path: root/server/confdb
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-08-18 09:17:56 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-08-18 07:55:51 -0400
commitf408a47afc4b5643e224e80a8899ca061446e4e5 (patch)
tree75ce199c6d27661c945328398c45613bc0fe9634 /server/confdb
parentf1e2fe491573012204af2faf2dbca37d051237e9 (diff)
downloadsssd-f408a47afc4b5643e224e80a8899ca061446e4e5.tar.gz
sssd-f408a47afc4b5643e224e80a8899ca061446e4e5.tar.bz2
sssd-f408a47afc4b5643e224e80a8899ca061446e4e5.zip
fix return value of confdb_get_domains
If the last configured domain is broken confdb_get_domains returns the return value of confdb_get_domain even if there are valid domains available.
Diffstat (limited to 'server/confdb')
-rw-r--r--server/confdb/confdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index 8b8dc746..a44368f9 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -816,6 +816,7 @@ int confdb_get_domains(struct confdb_ctx *cdb,
if (ret) {
DEBUG(0, ("Error (%d [%s]) retrieving domain [%s], skipping!\n",
ret, strerror(ret), domlist[i]));
+ ret = EOK;
continue;
}