diff options
author | Martin Schwenke <martin@meltin.net> | 2015-10-20 12:38:38 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2015-10-23 06:44:45 +0200 |
commit | 0ccf842e12c0b5de52a89f1b6d74eba3a5e3feb5 (patch) | |
tree | 72d5c5b327ab67d9ac6df2b805f27d61e289fa83 /ctdb/config/statd-callout | |
parent | 94898dd5b0770683181ece15a9ad9c9f5d9286e9 (diff) | |
download | samba-0ccf842e12c0b5de52a89f1b6d74eba3a5e3feb5.tar.gz |
ctdb-scripts: Use "ctdb ip all" instead of "ctdb ip -n all"
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Oct 23 06:44:45 CEST 2015 on sn-devel-104
Diffstat (limited to 'ctdb/config/statd-callout')
-rwxr-xr-x | ctdb/config/statd-callout | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/statd-callout b/ctdb/config/statd-callout index 3b83446e482..e2f4c281781 100755 --- a/ctdb/config/statd-callout +++ b/ctdb/config/statd-callout @@ -159,7 +159,7 @@ case "$1" in # Construct a sed expression to take catdb output and produce pairs of: # server-IP client-IP # but only for the server-IPs that are hosted on this node. - ctdb_all_ips=$(ctdb ip -n all | tail -n +2) + ctdb_all_ips=$(ctdb ip all | tail -n +2) sed_expr=$(echo "$ctdb_all_ips" | awk -v pnn=$pnn 'pnn == $2 { \ ip = $1; gsub(/\./, "\\.", ip); \ |