From 93b4d08be60e841786a70d1c59bf626b898ba5fe Mon Sep 17 00:00:00 2001 From: Jensfrank Date: Thu, 18 Jul 2024 01:37:49 +0800 Subject: [PATCH] Update Nlbench.sh --- Nlbench.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Nlbench.sh b/Nlbench.sh index 35d699b..ba36dbc 100644 --- a/Nlbench.sh +++ b/Nlbench.sh @@ -39,6 +39,7 @@ check_update() { echo "当前版本: $current_version" echo "正在自动更新..." if curl -o "$0.tmp" https://raw.githubusercontent.com/everett7623/nodeloc_vps_test/main/NLbench.sh && mv "$0.tmp" "$0"; then + chmod +x "$0" # 添加执行权限 echo "更新完成。重新启动脚本..." exec "$0" "$@" else