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

This commit is contained in:
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

View File

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