diff options
| author | Marco Amadori <amadorim@vdavda.com> | 2010-09-13 17:12:31 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:54:17 +0100 |
| commit | ba37cb93f56a3a2ddd9cf540b8bcb5b638eed2ed (patch) | |
| tree | bc01fb4e7c7d7a0f92921b8b111826c257d48757 /scripts | |
| parent | 8705e0f269bf7e592c32d835ac6685612fb39ad3 (diff) | |
| download | live-boot-ba37cb93f56a3a2ddd9cf540b8bcb5b638eed2ed.tar.gz live-boot-ba37cb93f56a3a2ddd9cf540b8bcb5b638eed2ed.zip | |
Fixed some snapshot related debug messages.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/live b/scripts/live index 98129a5..169ffb4 100755 --- a/scripts/live +++ b/scripts/live @@ -896,6 +896,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 @@ -933,9 +935,8 @@ do_snap_copy () return 0 else - return 1 - log_warning_msg "Unable to find the snapshot ${snap_type} medium" + return 1 fi } @@ -1045,7 +1046,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}" ] |
