From 5375cae96d4cc93a5bb55928641e006100f366f9 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Tue, 1 Aug 2023 21:53:46 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E8=84=9A=E6=9C=AC=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E5=89=8D=EF=BC=8C=E6=B8=85=E7=90=86=E6=9B=B4=E5=A4=9A=E4=B9=8B?= =?UTF-8?q?=E5=89=8D=E7=9A=84=E6=AE=8B=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trans.sh b/trans.sh index c12c952..f150541 100644 --- a/trans.sh +++ b/trans.sh @@ -184,8 +184,8 @@ clear_previous() { qemu_nbd -d /dev/nbd0 swapoff -a # alpine 自带的umount没有-R,除非安装了util-linux - umount -R /iso /wim /installer /os/installer /os /nbd /nbd-boot /nbd-efi - umount /iso /wim /installer /os/installer /os /nbd-boot + umount -R /iso /wim /installer /os/installer /os /nbd /nbd-boot /nbd-efi /mnt + umount /iso /wim /installer /os/installer /os /nbd /nbd-boot /nbd-efi /mnt } 2>/dev/null || true }