From 7b6e5f5d594c97d13040e2496baf062790d86897 Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Fri, 5 Jul 2024 15:03:24 +0800 Subject: [PATCH] Update Nlbench.sh --- Nlbench.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nlbench.sh b/Nlbench.sh index 36be339..77d3926 100644 --- a/Nlbench.sh +++ b/Nlbench.sh @@ -49,7 +49,7 @@ update_scripts() { echo -e "${GREEN}脚本更新成功!新版本: $NEW_VERSION${NC}" echo -e "${YELLOW}请等待 3 秒应用更新...${NC}" sleep 3 - exec bash "$0" # 自动重新启动脚本以应用更新 + exec bash "$0" # 执行一次重新启动以应用更新 else echo -e "${RED}无法替换脚本文件。请检查权限。${NC}" sleep 2