diff options
author | benne <2770597+stratmaster@users.noreply.github.com> | 2019-09-03 00:04:47 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-09-05 22:19:32 +0300 |
commit | fd2b74bdffc646e0cb155d46014fbb9048bc8db9 (patch) | |
tree | f20b04815f2790aa074188082d88c993405d9b93 /bin/ncp | |
parent | 1a367a65f16ab0a9fe4c3181ddc7d7a6ce01ff6e (diff) |
Add missing port in nc-rsync-auto.sh (#983)v1.16.1
Co-Authored-By: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp')
-rw-r--r-- | bin/ncp/BACKUPS/nc-rsync-auto.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp/BACKUPS/nc-rsync-auto.sh b/bin/ncp/BACKUPS/nc-rsync-auto.sh index 8bf1804b..9e45f583 100644 --- a/bin/ncp/BACKUPS/nc-rsync-auto.sh +++ b/bin/ncp/BACKUPS/nc-rsync-auto.sh @@ -30,7 +30,7 @@ configure() [[ "$DESTINATION" =~ : ]] && { local NET="$( sed 's|:.*||' <<<"$DESTINATION" )" - local SSH=( ssh -o "BatchMode=yes" "$NET" ) + local SSH=( ssh -o "BatchMode=yes" -p "$PORTNUMBER" "$NET" ) ${SSH[@]} : || { echo "SSH non-interactive not properly configured"; return 1; } } |