From add6e2f5d3e1ff0348e03edd1b43c3a13dd16003 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Fri, 30 Jun 2023 09:13:43 +0000 Subject: [PATCH] Update --- scripts/install_pve.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index 94c9226..ede7895 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -64,7 +64,7 @@ install_package() { exit 1 fi apt-get install -y $package_name --fix-missing - else + elif [ $? -ne 0 ]; then _green "$package_name tried to install but failed, exited the program" _green "$package_name 已尝试安装但失败,退出程序" exit 1