diff options
author | David Teigland <teigland@redhat.com> | 2009-06-26 15:59:28 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2009-06-26 15:59:28 -0500 |
commit | 0324c229024270c1dce85d15b0e62ad2b9da637f (patch) | |
tree | 382ba3a94bd02aab2f22ee432ae91928ec9cdb87 | |
parent | 677666b500e38282d219fc2dc3542d742ad93404 (diff) | |
download | dct-stuff-0324c229024270c1dce85d15b0e62ad2b9da637f.tar.gz dct-stuff-0324c229024270c1dce85d15b0e62ad2b9da637f.tar.xz dct-stuff-0324c229024270c1dce85d15b0e62ad2b9da637f.zip |
cpgx: fix & vs &&
Signed-off-by: David Teigland <teigland@redhat.com>
-rw-r--r-- | cpgx/cpgx.c | 8 |
1 files changed, 7 insertions, 1 deletions
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) |