Browse Source

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

andryyy 3 years ago
parent
commit
874446eec0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      helper-scripts/_cold-standby.sh

+ 1 - 1
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"