mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
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>
This commit is contained in:
parent
d730a61c1e
commit
7dff7db566
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user