diff options
author | Volker Lendecke <vl@samba.org> | 2013-01-31 11:02:52 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-10-17 23:19:36 +0200 |
commit | 7dff7db566cf3052a50d110f059c3d57ee5d2c40 (patch) | |
tree | f9a1dc61d5393a25bb154dc39ba7a4ce1b6697b7 /source3 | |
parent | d730a61c1e9f426f4fe9c3c34732c2245b77f0e4 (diff) | |
download | samba-7dff7db566cf3052a50d110f059c3d57ee5d2c40.tar.gz samba-7dff7db566cf3052a50d110f059c3d57ee5d2c40.tar.bz2 samba-7dff7db566cf3052a50d110f059c3d57ee5d2c40.zip |
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 <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/ctdbd_conn.c | 3 |
1 files changed, 2 insertions, 1 deletions
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")); |