From bc174243d789e95f9f4487f08a0998787e64f0d4 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 4 Jun 2020 09:45:26 +1000 Subject: [PATCH] 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 --- ctdb/tools/onnode | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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] @" -- 2.47.3