From: Martin Schwenke Date: Wed, 3 Jun 2020 23:45:26 +0000 (+1000) Subject: ctdb-tools: Drop undocumented ONNODE_SSH_OPTS variable X-Git-Tag: talloc-2.3.2~1105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc174243d789e95f9f4487f08a0998787e64f0d4;p=thirdparty%2Fsamba.git ctdb-tools: Drop undocumented ONNODE_SSH_OPTS variable Options can be set in ONNODE_SSH, so this variable is unnecessary. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tools/onnode b/ctdb/tools/onnode index 35c46c3c779..02e49c1f583 100755 --- a/ctdb/tools/onnode +++ b/ctdb/tools/onnode @@ -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] @"