From 874446eec022b5e09dc3abc6134b1f4a1ea566fa Mon Sep 17 00:00:00 2001 From: andryyy Date: Tue, 19 Oct 2021 17:49:38 +0200 Subject: [PATCH] [Helper] Change -V to --version to be more compatible with ancient OS --- helper-scripts/_cold-standby.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper-scripts/_cold-standby.sh b/helper-scripts/_cold-standby.sh index a24e7fee..cd45dd4c 100755 --- a/helper-scripts/_cold-standby.sh +++ b/helper-scripts/_cold-standby.sh @@ -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"