diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-18 11:00:08 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-18 11:00:08 -0500 |
commit | 647eb3ec4c9d35fd7439a45b6ea48fa04d77f484 (patch) | |
tree | f3e09ad8a18ab24629d5aac3e28d71df9dd9c4bc /squashfu | |
parent | afedb407cc2aba113f4a774fac5840fe80282e30 (diff) | |
download | squashfu-647eb3ec4c9d35fd7439a45b6ea48fa04d77f484.tar.gz |
New branch. Goal: optional rollback when rsync fails
Diffstat (limited to 'squashfu')
-rwxr-xr-x | squashfu | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |