aboutsummaryrefslogtreecommitdiffstats
path: root/squashfu
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-01-18 11:00:08 -0500
committerDave Reisner <d@falconindy.com>2010-01-18 11:00:08 -0500
commit647eb3ec4c9d35fd7439a45b6ea48fa04d77f484 (patch)
treef3e09ad8a18ab24629d5aac3e28d71df9dd9c4bc /squashfu
parentafedb407cc2aba113f4a774fac5840fe80282e30 (diff)
downloadsquashfu-647eb3ec4c9d35fd7439a45b6ea48fa04d77f484.tar.gz
New branch. Goal: optional rollback when rsync fails
Diffstat (limited to 'squashfu')
-rwxr-xr-xsquashfu4
1 files changed, 4 insertions, 0 deletions
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