summaryrefslogtreecommitdiff
path: root/src/providers/ipa/ipa_hosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ipa/ipa_hosts.c')
-rw-r--r--src/providers/ipa/ipa_hosts.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_hosts.c b/src/providers/ipa/ipa_hosts.c
index 5252ac9b..30013864 100644
--- a/src/providers/ipa/ipa_hosts.c
+++ b/src/providers/ipa/ipa_hosts.c
@@ -332,6 +332,12 @@ ipa_hostgroup_info_done(struct tevent_req *subreq)
&hostgroup_count,
&hostgroups);
talloc_zfree(subreq);
+ if (ret != EOK) {
+ DEBUG(SSSDBG_OP_FAILURE,
+ ("sdap_get_generic_recv failed: [%d]\n", ret));
+ tevent_req_error(req, ret);
+ return;
+ }
/* Merge the two arrays */
if (hostgroup_count > 0) {