[SCM] live-boot branch, debian, updated. debian/3.0_a20-1-11-g413bda3

Daniel Baumann daniel at debian.org
Thu Sep 8 19:09:56 UTC 2011


The following commit has been merged in the debian branch:
commit 2d4d31be00e0d7f6292ee748d116bb812bd374a6
Author: Tails developers <amnesia at boum.org>
Date:   Thu Sep 8 15:15:30 2011 +0200

    Silencing umount in case live/image was unmounted already, extracted from a patch by Michael Schierl <schierlm at gmx.de>.

diff --git a/scripts/live b/scripts/live
index c2ad14e..5fb8a26 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1683,7 +1683,7 @@ check_dev ()
 			echo ${mountpoint}
 			return 0
 		else
-			umount ${mountpoint}
+			umount ${mountpoint} 2>/dev/null
 		fi
 	fi
 

-- 
live-boot



More information about the debian-live-changes mailing list