diff options
Diffstat (limited to 'base/root/scripts')
| -rw-r--r-- | base/root/scripts/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/root/scripts/functions b/base/root/scripts/functions index be320fe..69952a6 100644 --- a/base/root/scripts/functions +++ b/base/root/scripts/functions @@ -9,7 +9,7 @@ cluster_is_healthy () count=0 while read line ; do count=$(($count + 1)) - [ "${line#:*:*:}" != "0:0:0:0:" ] && cat >/dev/null && return 1 + [ "${line##:*:*:*1:}" != "$line" ] && cat >/dev/null && return 1 done [ $count -gt 0 ] && return $? } |
