From 01c71468bf059877f655cff9ee210bb3dc131a60 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 3 Dec 2009 01:55:52 +0100 Subject: [PATCH] s3: Fix the code to immediately disconnect from a non-working ctdbd --- source3/lib/ctdbd_conn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 9101bd429cbd..05c41c148ccc 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -503,6 +503,7 @@ NTSTATUS ctdbd_init_connection(TALLOC_CTX *mem_ctx, if (!ctdbd_working(conn, conn->our_vnn)) { DEBUG(2, ("Node is not working, can not connect\n")); + status = NT_STATUS_INTERNAL_DB_ERROR; goto fail; } -- 2.34.1