From 3c6ccf74fb3500571f2f35db5571135bebfd548f Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Mon, 13 Sep 2010 17:12:31 +0200 Subject: Fixed some snapshot related debug messages. --- scripts/live | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts') 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}" ] -- cgit v1.2.3