diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-19 21:09:19 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-19 21:09:19 -0500 |
commit | fe7d5f6e8d552f59d2f170eb340e1b6c5b2ab91e (patch) | |
tree | f489579ccca1b769341a707dfe244879464164be | |
parent | 480d9996835339abaf954fa26296cf9a24bd1928 (diff) | |
download | squashfu-fe7d5f6e8d552f59d2f170eb340e1b6c5b2ab91e.tar.gz |
Warn when rsync hangs up unexpectedly and we pass off to remove_bin
-rwxr-xr-x | squashfu | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -257,6 +257,7 @@ action_backup () { /usr/bin/rsync ${RSYNC_OPTS[@]} ${INCLUDES[@]} ${EXCLUDES[@]} "$UNION_MOUNT" if [[ $? -gt 0 && $DEL_BIN_ON_FAIL == "true" ]]; then + warn "Unexpected hangup by rsync. Deleting backup." action_remove_bin $new_bin override fi |