diff options
author | Martin Schwenke <martin@meltin.net> | 2011-05-17 13:18:11 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-06-08 14:21:26 +1000 |
commit | 597083d37ab6326adc17046a74858f4b0967446b (patch) | |
tree | 347767e1027bd41ef78b72102c946f31dbec1a3f /ctdb/tools/onnode | |
parent | c262fe6a8f75b81a98291d40e4e0dd8c763a1d70 (diff) | |
download | samba-597083d37ab6326adc17046a74858f4b0967446b.tar.gz |
onnode - Fix long standing bug in onnode healthy/ok/connected/con.
When the output of "ctdb status -Y" changed to add an extra status
column we didn't fix onnode.
This adds a match for the extra column.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 793febaebd3d484ddfbbcb47aaa0cdf3cfc1a00d)
Diffstat (limited to 'ctdb/tools/onnode')
-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 fa61b47e5bd..264937ea684 100755 --- a/ctdb/tools/onnode +++ b/ctdb/tools/onnode @@ -139,10 +139,10 @@ get_nodes_with_status () local bits case "$status" in healthy) - bits="0:0:0:0:0" + bits="0:0:0:0:0:0" ;; connected) - bits="0:[0-1]:[0-1]:[0-1]:[0-1]" + bits="0:[0-1]:[0-1]:[0-1]:[0-1]:[0-1]" ;; *) invalid_nodespec |