From 01a769d9709458d8b80ed926a820eedcb8842991 Mon Sep 17 00:00:00 2001 From: Zhu Rengen Date: Tue, 10 Aug 2021 22:46:52 +0800 Subject: [PATCH] Update install.sh --- script/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/install.sh b/script/install.sh index 99ef5ce..a75059c 100755 --- a/script/install.sh +++ b/script/install.sh @@ -223,7 +223,7 @@ modify_agent_config() { return 0 fi - if [[ $1 == 0 ]]; then + if [[ $# != 3 ]]; then echo "请先在管理面板上添加Agent,记录下密钥" && read -ep "请输入一个解析到面板所在IP的域名(不可套CDN): " nz_grpc_host && read -ep "请输入面板RPC端口: (5555)" nz_grpc_port &&