From 647eb3ec4c9d35fd7439a45b6ea48fa04d77f484 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 18 Jan 2010 11:00:08 -0500 Subject: New branch. Goal: optional rollback when rsync fails --- squashfu | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'squashfu') diff --git a/squashfu b/squashfu index 8e167af..7694c80 100755 --- a/squashfu +++ b/squashfu @@ -260,6 +260,10 @@ action_backup () { create_new_incremental + if [[ $? -gt 0 && $DEL_BIN_ON_FAIL == "true" ]]; then + # Remove the physical bin and edit binlist + fi + check_for_resquash if [[ val=$? -gt 0 ]]; then create_new_squash $val -- cgit v1.2.3