Force deleting INPROGRESS_FILE (avoids waiting for user input if rm is aliased to rm -i)

This commit is contained in:
Eric Fournie
2013-11-25 14:47:18 +00:00
parent d31b689f6b
commit 928b32f83e
+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