summaryrefslogtreecommitdiff
path: root/rsync_tmbackup.sh
diff options
context:
space:
mode:
authorLaurent Cozic <laurent@pogopixels.com>2013-11-26 03:44:06 +0800
committerLaurent Cozic <laurent@pogopixels.com>2013-11-26 03:44:06 +0800
commit2e413d82d7b19da06b7f7ed902e052fb7875e56e (patch)
treea69ea220ecdfe702149a7e641e7b25c70a8819b4 /rsync_tmbackup.sh
parentb8fb75bbc071cc2ed05fd393834ef186e220d6eb (diff)
parentcb252f75457fdd1dac8376d275e26a7fe24ce3c7 (diff)
Merge branch 'master' of https://github.com/laurent22/rsync-time-backup
Diffstat (limited to 'rsync_tmbackup.sh')
-rw-r--r--rsync_tmbackup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh
index 97fd6a5..ebe8b0b 100644
--- a/rsync_tmbackup.sh
+++ b/rsync_tmbackup.sh
@@ -280,7 +280,7 @@ while [ "1" ]; do
ln -s -- $(basename -- "$DEST") "latest"
cd -
- rm -- "$INPROGRESS_FILE"
+ rm -f -- "$INPROGRESS_FILE"
# TODO: grep for "^rsync error:.*$" in log
fn_log_info "Backup completed without errors."
exit 0