diff options
-rwxr-xr-x | bin/rsync-ssl-tunnel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rsync-ssl-tunnel b/bin/rsync-ssl-tunnel index e6f2fa9..82fb9eb 100755 --- a/bin/rsync-ssl-tunnel +++ b/bin/rsync-ssl-tunnel @@ -27,7 +27,6 @@ while [[ "$#" -gt 0 ]]; do exit 1 ;; *) - RSYNC_HOST="$1"; shift break esac done @@ -37,6 +36,7 @@ if [[ "$#" = 0 ]]; then echo >&2 "No arguments given." exit 1 fi +RSYNC_HOST="$1"; shift RSYNC_SSL_PORT=${RSYNC_SSL_PORT:-"1873"} RSYNC_SSL_CAPATH=${RSYNC_SSL_CAPATH:-"/etc/ssl/certs"} RSYNC_SSL_METHOD=${RSYNC_SSL_METHOD:-"socat"} |