aboutsummaryrefslogtreecommitdiffstats
path: root/squashfu
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-06-15 14:13:28 -0400
committerDave Reisner <d@falconindy.com>2010-06-15 14:13:28 -0400
commit754c27aa94fd3281d29b053f3746f3fb27e9d41d (patch)
tree3b5136e781779657ac2eb0428367059bcf34a552 /squashfu
parentf7f2723a2cb537b52e83ab383b71db8179f8b05a (diff)
downloadsquashfu-754c27aa94fd3281d29b053f3746f3fb27e9d41d.tar.gz
remove restore_type. just call it generic 'data'. the user should know what they're restoring.
Diffstat (limited to 'squashfu')
-rwxr-xr-xsquashfu4
1 files changed, 1 insertions, 3 deletions
diff --git a/squashfu b/squashfu
index cf63eb6..f4f72ee 100755
--- a/squashfu
+++ b/squashfu
@@ -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