]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/hook/kaos/ventoy-disk.sh
Fix the bug when booting latest KaOS. (#1696)
[Ventoy.git] / IMG / cpio / ventoy / hook / kaos / ventoy-disk.sh
index c21c04c9d51fec27548d9f8972595ab641dd39ba..42569cc0e9d68f31e36c4c568a8285038c8ad130 100644 (file)
@@ -49,9 +49,10 @@ ventoy_os_install_dmsetup_by_fuse() {
         insmod $KoName
     fi
     
-    umount $VTOY_PATH/mnt/squashfs
-    umount $VTOY_PATH/mnt/iso
-    umount $VTOY_PATH/mnt/fuse
+    ventoy_check_umount $VTOY_PATH/mnt/squashfs
+    ventoy_check_umount $VTOY_PATH/mnt/iso
+    ventoy_check_umount $VTOY_PATH/mnt/fuse
+    vtlog "umount done"
 }