quotes
This commit is contained in:
parent
429c169d0b
commit
7f365426dd
|
@ -602,7 +602,7 @@ do
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ $TEST_MODE == "yes" ]]; then
|
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
|
fi
|
||||||
rsync -ratlzv --rsh="/usr/bin/sshpass -p \"$REMOTE_PASSWORD\" ssh -p $REMOTE_SSH_PORT -o StrictHostKeyChecking=no" $SERVER_DIRECTORY/backup $REMOTE_SERVER
|
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
|
if [ ! "$?" = "0" ]; then
|
||||||
|
|
Loading…
Reference in New Issue