diff options
| author | Laurent <laurent@pogopixels.com> | 2013-11-25 10:17:53 -0800 |
|---|---|---|
| committer | Laurent <laurent@pogopixels.com> | 2013-11-25 10:17:53 -0800 |
| commit | 5d1027fd78ccdb88e8848bd250baeaa790ee0a39 (patch) | |
| tree | dbf6a4078ef7585263b73bcadc3a26ce08763a14 | |
| parent | d31b689f6be4bdc46eaeb0ed1b6e39b09a4d06d5 (diff) | |
| parent | 928b32f83ea3cff1ac8c4ddf9088cac97b651bab (diff) | |
Merge pull request #21 from efournie/efournie-master
Force deleting INPROGRESS_FILE
Avoids waiting for user input if rm is aliased to rm -i
| -rw-r--r-- | rsync_tmbackup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh index d573374..2beca81 100644 --- a/rsync_tmbackup.sh +++ b/rsync_tmbackup.sh @@ -282,7 +282,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 |
