Silencing umount in case live/image was unmounted already, extracted from a patch...
authorTails developers <amnesia@boum.org>
Thu, 8 Sep 2011 13:15:30 +0000 (15:15 +0200)
committerDaniel Baumann <daniel@debian.org>
Thu, 8 Sep 2011 13:26:53 +0000 (15:26 +0200)
scripts/live

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