mirror of
https://github.com/vmstan/gravity-sync.git
synced 2026-05-20 21:22:29 -04:00
0
This commit is contained in:
+1
-1
@@ -1019,7 +1019,7 @@ function detect_remotersync {
|
||||
|
||||
${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i "$HOME/${SSH_PKIF}" ${REMOTE_USER}@${REMOTE_HOST} "hash rsync" 2>/dev/null
|
||||
|
||||
if [ "$?" == "-bash: 0: command not found" ]
|
||||
if [ "$?" == "0" ]
|
||||
then
|
||||
echo_good
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user