From: root Date: Thu, 5 Feb 2009 01:18:17 +0000 (+1100) Subject: dont return error if update nodeflags failed. this can happen when we talk X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=7b6bada79b4e0534b261440438b4256bc446191f;p=sahlberg%2Fctdb.git dont return error if update nodeflags failed. this can happen when we talk to older ctdb versions --- diff --git a/client/ctdb_client.c b/client/ctdb_client.c index 16fc03b4..f6ddbe65 100644 --- a/client/ctdb_client.c +++ b/client/ctdb_client.c @@ -2399,10 +2399,10 @@ int ctdb_ctrl_modflags(struct ctdb_context *ctdb, struct timeval timeout, uint32 timeout, false, data, NULL, NULL, NULL) != 0) { - DEBUG(DEBUG_ERR, (__location__ " ctdb_control to disable node failed\n")); + DEBUG(DEBUG_ERR, (__location__ " ctdb_control to update nodeflags failed\n")); talloc_free(tmp_ctx); - return -1; + return 0; } talloc_free(tmp_ctx);