fix
This commit is contained in:
parent
7ead75e669
commit
0a711f2708
@ -171,7 +171,7 @@ install_agent() {
|
|||||||
chmod 777 -R $NZ_AGENT_PATH
|
chmod 777 -R $NZ_AGENT_PATH
|
||||||
|
|
||||||
echo -e "正在下载监控端"
|
echo -e "正在下载监控端"
|
||||||
cd $NZ_DASHBOARD_PATH
|
cd $NZ_AGENT_PATH
|
||||||
curl -L https://github.com/naiba/nezha/releases/latest/download/nezha-agent_linux_${os_arch}.tar.gz -o nezha-agent_linux_${os_arch}.tar.gz >/dev/null 2>&1
|
curl -L https://github.com/naiba/nezha/releases/latest/download/nezha-agent_linux_${os_arch}.tar.gz -o nezha-agent_linux_${os_arch}.tar.gz >/dev/null 2>&1
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
echo -e "${red}Release 下载失败,请检查本机能否连接 github.com${plain}"
|
echo -e "${red}Release 下载失败,请检查本机能否连接 github.com${plain}"
|
||||||
|
Loading…
Reference in New Issue
Block a user