diff options
Diffstat (limited to 'ctdb/config/events.d/62.cnfs')
-rwxr-xr-x | ctdb/config/events.d/62.cnfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/62.cnfs b/ctdb/config/events.d/62.cnfs index a3e666c7fdc..339eaef3cb0 100755 --- a/ctdb/config/events.d/62.cnfs +++ b/ctdb/config/events.d/62.cnfs @@ -53,7 +53,7 @@ case "$1" in # Wait until we no longer serve any ip addresses at all ctdb_get_pnn - while `ctdb -X ip | cut -d'|' -f3 | egrep "^$pnn$" >/dev/null`; do + while ctdb -X ip | grep -q "^|.*|${pnn}|\$" ; do sleep 1 done ;; |