X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/598af7f45c8112321b10da3c38e70468e62ea6a6..aecc579fcce4d9db04775c7b2b20b0f70954dbd3:/IMG/cpio/ventoy/hook/kaos/ventoy-disk.sh diff --git a/IMG/cpio/ventoy/hook/kaos/ventoy-disk.sh b/IMG/cpio/ventoy/hook/kaos/ventoy-disk.sh index c21c04c..42569cc 100644 --- a/IMG/cpio/ventoy/hook/kaos/ventoy-disk.sh +++ b/IMG/cpio/ventoy/hook/kaos/ventoy-disk.sh @@ -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" }