Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove restore_type. just call it generic 'data'. the user should kno…

…w what they're restoring.
  • Loading branch information...
commit 754c27aa94fd3281d29b053f3746f3fb27e9d41d 1 parent f7f2723
@falconindy authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 squashfu
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.