diff options
Diffstat (limited to 'ctdb/tools')
-rwxr-xr-x | ctdb/tools/onnode | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/tools/onnode b/ctdb/tools/onnode index 11ad708693..0abc13636e 100755 --- a/ctdb/tools/onnode +++ b/ctdb/tools/onnode @@ -165,10 +165,10 @@ get_nodes_with_status () case "$status" in healthy) - # If any bit is not 0, don't match this address. + # If any bit is 1, don't match this address. local s for s ; do - [ "$s" = "0" ] || continue 2 + [ "$s" != "1" ] || continue 2 done ;; connected) |