diff options
| author | Dave Reisner <d@falconindy.com> | 2010-01-18 00:08:54 -0500 |
|---|---|---|
| committer | Dave Reisner <d@falconindy.com> | 2010-01-18 00:08:54 -0500 |
| commit | de17d5490f7c3e50f71dc57815ee265b11fcdcc5 (patch) | |
| tree | 7b8275df5de984794d22c40ab86235075a263ba1 | |
| parent | dcff2ddd3f856648487adfe95b4778961c8a4f59 (diff) | |
| download | squashfu-de17d5490f7c3e50f71dc57815ee265b11fcdcc5.tar.gz | |
Conform -U option to set action and not immediately execute
| -rwxr-xr-x | squashfu | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -352,6 +352,10 @@ action_resquash_now () { exit $? } +action_unmount () { + unmount_all +} + usage () { info "SquashFu: Super Awesome Backup Express (Professional Edition)" echo "version: $VER" @@ -400,8 +404,7 @@ while getopts :BCQR:U opt; do action="rollback $OPTARG" ;; U) - unmount_all - exit 0 + action=unmount ;; c) [[ -f $OPTARG ]] && source $OPTARG |
