summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mgmtd/mgmt_txn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mgmtd/mgmt_txn.c b/mgmtd/mgmt_txn.c
index 786fa0d0a3..7f88524e85 100644
--- a/mgmtd/mgmt_txn.c
+++ b/mgmtd/mgmt_txn.c
@@ -2441,6 +2441,10 @@ state:
mgmt_msg_native_free_msg(msg);
+ /* Return if we didn't send any messages to backends */
+ if (!get_tree->sent_clients)
+ return txn_get_tree_data_done(txn, txn_req);
+
/* Start timeout timer - pulled out of register event code so we can
* pass a different arg
*/