From 46a3019d3601e67d2836ea37de4ad1760618f9da Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 3 Dec 2009 01:55:52 +0100 Subject: s3: Fix the code to immediately disconnect from a non-working ctdbd --- source3/lib/ctdbd_conn.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index dee477f3c5..d2016932c9 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -515,6 +515,7 @@ static 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; } -- cgit