From 0324c229024270c1dce85d15b0e62ad2b9da637f Mon Sep 17 00:00:00 2001 From: David Teigland Date: Fri, 26 Jun 2009 15:59:28 -0500 Subject: cpgx: fix & vs && Signed-off-by: David Teigland --- cpgx/cpgx.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cpgx/cpgx.c b/cpgx/cpgx.c index 29a8ece..12c824e 100644 --- a/cpgx/cpgx.c +++ b/cpgx/cpgx.c @@ -567,7 +567,7 @@ void update_nodes_list(struct dct_config *c, uint32_t id) /* node has failed/left */ - if (!is_memb & node->is_member) { + if (!is_memb && node->is_member) { if (is_join || !is_left) log_error("member list off c %d %d %d %d %u", is_memb, is_join, is_left, @@ -1537,6 +1537,12 @@ void restart_cluster(void) system("cman_tool join -w"); else system(exec_name); + +#if 0 + /* FIXME */ + sleep(5); + system("cman_tool nodes"); +#endif } void loop(void) -- cgit