[Helper] Change -V to --version to be more compatible with ancient OS

master
andryyy 2021-10-19 17:49:38 +02:00
parent 1fdf29c11c
commit 874446eec0
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ function preflight_remote_checks() {
-i "${REMOTE_SSH_KEY}" \ -i "${REMOTE_SSH_KEY}" \
${REMOTE_SSH_HOST} \ ${REMOTE_SSH_HOST} \
-p ${REMOTE_SSH_PORT} \ -p ${REMOTE_SSH_PORT} \
rsync -V > /dev/null rsync --version > /dev/null
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
>&2 echo -e "\e[31mCould not verify connection to ${REMOTE_SSH_HOST}\e[0m" >&2 echo -e "\e[31mCould not verify connection to ${REMOTE_SSH_HOST}\e[0m"