Silencing umount in case live/image was unmounted already, extracted from a patch...
[live-boot-grml.git] / 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