[SCM] debian-live branch, master, updated. 1.130.1-3-28-gd167d6e

Daniel Baumann daniel at debian.org
Tue Jun 10 21:59:07 UTC 2008


The following commit has been merged in the master branch:
commit 1847478180a533c6913df71dc976b25e7eccc930
Author: Marco Amadori <marco.amadori at gmail.com>
Date:   Sun Jun 8 01:09:27 2008 +0200

    live-snapshot: nicer default auto unmount logic.
    
    Signed-off-by: Marco Amadori <marco.amadori at gmail.com>

diff --git a/bin/live-snapshot b/bin/live-snapshot
index 03245ea..5837f5d 100755
--- a/bin/live-snapshot
+++ b/bin/live-snapshot
@@ -307,7 +307,7 @@ Do_snapshot ()
 
 Clean ()
 {
-	if echo "${DEST}" | grep -q "${MOUNTP}"
+	if [ -z "${SNAP_RESYNC_STRING}" ] && echo "${DEST}" | grep -q "${MOUNTP}"
 	then
 		echo "${DEST} is present on ${MOUNTP}, therefore no automatic unmounting the latter." > /dev/null 1>&2
 	else

-- 
debian-live



More information about the debian-live-changes mailing list