summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarco Amadori <amadorim@vdavda.com>2010-09-13 17:12:31 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:59:20 +0100
commit3c6ccf74fb3500571f2f35db5571135bebfd548f (patch)
tree035fde29d6b295ae90e679545c1aead7fea7f7e1 /scripts
parent089ae56f49ab73a926c28d96baee58986ade09a8 (diff)
downloadlive-boot-3c6ccf74fb3500571f2f35db5571135bebfd548f.tar.gz
live-boot-3c6ccf74fb3500571f2f35db5571135bebfd548f.zip
Fixed some snapshot related debug messages.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/live b/scripts/live
index bef055a..07deb55 100755
--- a/scripts/live
+++ b/scripts/live
@@ -957,6 +957,8 @@ do_snap_copy ()
if [ -b "${fromdev}" ]
then
+ log_success_msg "Copying snapshot ${fromdev} to ${todir}..."
+
# look for free mem
if [ -n "${HOMEMOUNTED}" -a "${snap_type}" = "HOME" ]
then
@@ -994,9 +996,8 @@ do_snap_copy ()
return 0
else
- return 1
-
log_warning_msg "Unable to find the snapshot ${snap_type} medium"
+ return 1
fi
}
@@ -1106,7 +1107,7 @@ try_snap ()
if ! do_snap_copy "${dev}" "${snap_mount}" "${snap_type}"
then
- log_warning_msg "Impossible to include the ${snap_type} Snapshot"
+ log_warning_msg "Impossible to include the ${snap_type} Snapshot (i)"
return 1
else
if [ -n "${snapfile}" ]