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:
parent
00eb88b241
commit
5f217d6037
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user