]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tools: Drop undocumented ONNODE_SSH_OPTS variable
authorMartin Schwenke <martin@meltin.net>
Wed, 3 Jun 2020 23:45:26 +0000 (09:45 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 16 Jul 2020 05:28:42 +0000 (05:28 +0000)
Options can be set in ONNODE_SSH, so this variable is unnecessary.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/onnode

index 35c46c3c77997ac9264e0d2cbd0c1fe90c7a6b25..02e49c1f583c719d98b95636486f12a1af2d66c0 100755 (executable)
@@ -276,7 +276,6 @@ parse_options "$@"
 ssh_opts=
 if $push ; then
        ONNODE_SSH=push
-       ONNODE_SSH_OPTS=""
 else
        $current && command="cd $PWD && $command"
 
@@ -313,7 +312,7 @@ retcode=0
 for n in $nodes ; do
        set -o pipefail 2>/dev/null
 
-       ssh_cmd="$ONNODE_SSH $ssh_opts $ONNODE_SSH_OPTS"
+       ssh_cmd="$ONNODE_SSH $ssh_opts"
        if $parallel ; then
                if $verbose ; then
                        $ssh_cmd "$n" "$command" 2>&1 | sed -e "s@^@[$n] @"