summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/messages_ctdbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/messages_ctdbd.c b/source3/lib/messages_ctdbd.c
index 7d182a57d8..cf780c4e47 100644
--- a/source3/lib/messages_ctdbd.c
+++ b/source3/lib/messages_ctdbd.c
@@ -53,6 +53,7 @@ struct ctdbd_connection *messaging_ctdbd_connection(void)
msg = messaging_init(NULL, procid_self(), ev);
if (!msg) {
DEBUG(0,("messaging_init failed\n"));
+ return NULL;
}
db_tdb2_setup_messaging(msg, false);