[SCM] live-boot branch, debian-next, updated. debian/3.0_a20-1-8-gd878097

Tails developers amnesia at boum.org
Thu Sep 8 13:22:30 UTC 2011


The following commit has been merged in the debian-next branch:
commit d87809717cdd1001df155bb98948d68023ad5ce3
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>,
    from the Grml project.

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