summaryrefslogtreecommitdiff
path: root/rsync_tmbackup.sh
diff options
context:
space:
mode:
authorlinleybao <johnny.beaus@gmail.com>2019-11-06 00:39:26 +0800
committerLaurent Cozic <laurent22@users.noreply.github.com>2019-11-05 16:39:26 +0000
commit88db869fe7a52864e18afc7e16a971499f79e830 (patch)
treef4955cc24e5c77bf296726ec7e20a2ac7a874492 /rsync_tmbackup.sh
parentda904fe66ce384ff3f844fdfc81b6a4d95410d9a (diff)
fix typo (#179)
Diffstat (limited to 'rsync_tmbackup.sh')
-rwxr-xr-xrsync_tmbackup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh
index 4d4dfab..1bc24ee 100755
--- a/rsync_tmbackup.sh
+++ b/rsync_tmbackup.sh
@@ -402,8 +402,8 @@ if [ -z "$(fn_find_backup_marker "$DEST_FOLDER")" ]; then
exit 1
fi
-# Check source and destination file-system (df -T /dest).
-# If one of them is FAT, use the --modify-window rsync parameter
+# Check source and destination file-system (df -T /dest).
+# If one of them is FAT, use the --modify-window rsync parameter
# (see man rsync) with a value of 1 or 2.
#
# The check is performed by taking the second row
@@ -544,7 +544,7 @@ while : ; do
CMD="rsync"
if [ -n "$SSH_CMD" ]; then
- $RSYNC_FLAGS="$RSYNC_FLAGS --compress"
+ RSYNC_FLAGS="$RSYNC_FLAGS --compress"
if [ -n "$ID_RSA" ] ; then
CMD="$CMD -e 'ssh -p $SSH_PORT -i $ID_RSA -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'"
else