dont return error if update nodeflags failed. this can happen when we talk
authorroot <root@test1n1.VSOFS1.COM>
Thu, 5 Feb 2009 01:18:17 +0000 (12:18 +1100)
committerroot <root@test1n1.VSOFS1.COM>
Thu, 5 Feb 2009 01:18:17 +0000 (12:18 +1100)
to older ctdb versions

client/ctdb_client.c

index 16fc03b48ab2a6878cd8104c6ae9aa90d0071e8a..f6ddbe651acd46789854e81cab3c162023cc3df1 100644 (file)
@@ -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);