diff options
author | Dave Reisner <d@falconindy.com> | 2010-06-15 14:13:28 -0400 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-06-15 14:13:28 -0400 |
commit | 754c27aa94fd3281d29b053f3746f3fb27e9d41d (patch) | |
tree | 3b5136e781779657ac2eb0428367059bcf34a552 | |
parent | f7f2723a2cb537b52e83ab383b71db8179f8b05a (diff) | |
download | squashfu-754c27aa94fd3281d29b053f3746f3fb27e9d41d.tar.gz |
remove restore_type. just call it generic 'data'. the user should know what they're restoring.
-rwxr-xr-x | squashfu | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -354,8 +354,6 @@ action_restore () { die "Target not found: '$1'" fi - local restore_type=$(stat -c %F ${results[0]}) - info "Found $(basename $1) in the following backups:" [[ -n ${snaps[0]} ]] && printf " 0\t%s\n" "$(date --date=@${snaps[0]})" for result in "${results[@]}"; do @@ -387,7 +385,7 @@ action_restore () { else rsync -a "$UNION_MOUNT/$1" "$restore_name"; fi - } && info "Your ${restore_type##regular } has been restored as $restore_name" + } && info "Your data has been restored as: '$restore_name'" unmount_all |