From: Tails developers Date: Thu, 8 Sep 2011 13:15:30 +0000 (+0200) Subject: Silencing umount in case live/image was unmounted already, extracted from a patch... X-Git-Tag: debian/3.0_a21-1~3 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=2d4d31be00e0d7f6292ee748d116bb812bd374a6;p=live-boot-grml.git Silencing umount in case live/image was unmounted already, extracted from a patch by Michael Schierl . --- 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