This commit is contained in:
Bob Mottram 2015-12-23 10:31:01 +00:00
parent 429c169d0b
commit 7f365426dd
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ do
done
if [[ $TEST_MODE == "yes" ]]; then
echo "rsync -ratlzv --rsh='/usr/bin/sshpass -p \"$REMOTE_PASSWORD\" ssh -p $REMOTE_SSH_PORT -o StrictHostKeyChecking=no' $SERVER_DIRECTORY/backup $REMOTE_SERVER"
echo "rsync -ratlzv --rsh=\"/usr/bin/sshpass -p \"$REMOTE_PASSWORD\" ssh -p $REMOTE_SSH_PORT -o StrictHostKeyChecking=no\" $SERVER_DIRECTORY/backup $REMOTE_SERVER"
fi
rsync -ratlzv --rsh="/usr/bin/sshpass -p \"$REMOTE_PASSWORD\" ssh -p $REMOTE_SSH_PORT -o StrictHostKeyChecking=no" $SERVER_DIRECTORY/backup $REMOTE_SERVER
if [ ! "$?" = "0" ]; then