From fc56ddd7fa51040bfb5e7c083bb62267d99b3a01 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sat, 23 Dec 2023 08:27:41 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E5=88=A0=E9=99=A4=E6=97=A0=E6=95=88?= =?UTF-8?q?=E7=9A=84=20efi=20=E6=9D=A1=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trans.sh b/trans.sh index e94718e..159ae63 100644 --- a/trans.sh +++ b/trans.sh @@ -744,7 +744,9 @@ EOF fi # 删除无效的 efi 条目 - del_invalid_efi_entry + if is_efi; then + del_invalid_efi_entry + fi # 是否保留 swap if [ -e /os/swapfile ]; then