From 7dff7db566cf3052a50d110f059c3d57ee5d2c40 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 31 Jan 2013 11:02:52 +0100 Subject: [PATCH] ctdbd_conn: Remove one call to cluster_fatal This is during startup of a ctdb connection, thus it is not as important as in other cases to immediately exit to free up resources Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam --- source3/lib/ctdbd_conn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 70ce82448b..d30e680d8d 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -152,7 +152,8 @@ static bool ctdbd_working(struct ctdbd_connection *conn, uint32_t vnn) CTDB_CONTROL_GET_NODEMAP, 0, 0, tdb_null, talloc_tos(), &outdata, &cstatus); if (!NT_STATUS_IS_OK(status)) { - cluster_fatal("ctdbd_control failed\n"); + DEBUG(1, ("ctdbd_control failed: %s\n", nt_errstr(status))); + return false; } if ((cstatus != 0) || (outdata.dptr == NULL)) { DEBUG(2, ("Received invalid ctdb data\n")); -- 2.34.1