fix typo (#179)
This commit is contained in:
+3
-3
@@ -402,8 +402,8 @@ if [ -z "$(fn_find_backup_marker "$DEST_FOLDER")" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check source and destination file-system (df -T /dest).
|
# Check source and destination file-system (df -T /dest).
|
||||||
# If one of them is FAT, use the --modify-window rsync parameter
|
# If one of them is FAT, use the --modify-window rsync parameter
|
||||||
# (see man rsync) with a value of 1 or 2.
|
# (see man rsync) with a value of 1 or 2.
|
||||||
#
|
#
|
||||||
# The check is performed by taking the second row
|
# The check is performed by taking the second row
|
||||||
@@ -544,7 +544,7 @@ while : ; do
|
|||||||
|
|
||||||
CMD="rsync"
|
CMD="rsync"
|
||||||
if [ -n "$SSH_CMD" ]; then
|
if [ -n "$SSH_CMD" ]; then
|
||||||
$RSYNC_FLAGS="$RSYNC_FLAGS --compress"
|
RSYNC_FLAGS="$RSYNC_FLAGS --compress"
|
||||||
if [ -n "$ID_RSA" ] ; then
|
if [ -n "$ID_RSA" ] ; then
|
||||||
CMD="$CMD -e 'ssh -p $SSH_PORT -i $ID_RSA -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'"
|
CMD="$CMD -e 'ssh -p $SSH_PORT -i $ID_RSA -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user