mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-20 15:05:22 +00:00
Update Nlbench.sh
This commit is contained in:
parent
b6d288818d
commit
7b6e5f5d59
@ -49,7 +49,7 @@ update_scripts() {
|
|||||||
echo -e "${GREEN}脚本更新成功!新版本: $NEW_VERSION${NC}"
|
echo -e "${GREEN}脚本更新成功!新版本: $NEW_VERSION${NC}"
|
||||||
echo -e "${YELLOW}请等待 3 秒应用更新...${NC}"
|
echo -e "${YELLOW}请等待 3 秒应用更新...${NC}"
|
||||||
sleep 3
|
sleep 3
|
||||||
exec bash "$0" # 自动重新启动脚本以应用更新
|
exec bash "$0" # 执行一次重新启动以应用更新
|
||||||
else
|
else
|
||||||
echo -e "${RED}无法替换脚本文件。请检查权限。${NC}"
|
echo -e "${RED}无法替换脚本文件。请检查权限。${NC}"
|
||||||
sleep 2
|
sleep 2
|
||||||
|
Loading…
Reference in New Issue
Block a user