1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

ctdb-tools: Allow onnode -P to respect ONNODE_SSH

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2020-06-04 09:58:41 +10:00 committed by Amitay Isaacs
parent 00eb88b241
commit 5f217d6037

View File

@ -275,6 +275,9 @@ parse_options "$@"
ssh_opts=
if $push ; then
if [ -n "$ONNODE_SSH" ] ; then
export RSYNC_RSH="$ONNODE_SSH"
fi
ONNODE_SSH=push
else
$current && command="cd $PWD && $command"