From 6164b0c3016dba3727e7dc6312174c9363de8857 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Thu, 22 Jun 2023 20:56:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20install=5Fpkg=20=E7=9A=84?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reinstall.sh b/reinstall.sh index 7203f7c..fafb389 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -291,7 +291,8 @@ install_pkg() { pacman -Syu --noconfirm $pkgs || apk add $pkgs } 2>/dev/null - break + # break 返回值始终为 0 + return fi done }