mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-09 08:50:05 +08:00
[Helper] Change -V to --version to be more compatible with ancient OS
This commit is contained in:
parent
1fdf29c11c
commit
874446eec0
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user