Merge pull request #21 from efournie/efournie-master

Force deleting INPROGRESS_FILE

Avoids waiting for user input if rm is aliased to rm -i
This commit is contained in:
Laurent
2013-11-25 10:17:53 -08:00
+1 -1
View File
@@ -282,7 +282,7 @@ while [ "1" ]; do
ln -s -- $(basename -- "$DEST") "latest" ln -s -- $(basename -- "$DEST") "latest"
cd - cd -
rm -- "$INPROGRESS_FILE" rm -f -- "$INPROGRESS_FILE"
# TODO: grep for "^rsync error:.*$" in log # TODO: grep for "^rsync error:.*$" in log
fn_log_info "Backup completed without errors." fn_log_info "Backup completed without errors."
exit 0 exit 0