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:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user