更新 install.sh
This commit is contained in:
		
							parent
							
								
									c4d8e2fd85
								
							
						
					
					
						commit
						95861864c3
					
				@ -321,7 +321,7 @@ install_agent() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    if [ $Install_With_Monitor != 1 ]; then
 | 
					    if [ $Install_With_Monitor != 1 ]; then
 | 
				
			||||||
        echo -e "正在下载监控端"
 | 
					        echo -e "正在下载监控端"
 | 
				
			||||||
        wget -t 2 -T 10 -O nezha-agent_linux_${os_arch}.zip https://github.com/nezhahq/agent/releases/download/v0.20.5/nezha-agent_linux_${os_arch}.zip >/dev/null 2>&1
 | 
					        wget -t 2 -T 10 -O nezha-agent_linux_${os_arch}.zip https://github.com/nezhahq/agent/releases/download/v0.20.5/nezha-agent_linux_amd64.zip >/dev/null 2>&1
 | 
				
			||||||
        if [[ $? != 0 ]]; then
 | 
					        if [[ $? != 0 ]]; then
 | 
				
			||||||
            echo -e "${red}Release 下载失败,请检查本机能否连接 ${GITHUB_URL}${plain}"
 | 
					            echo -e "${red}Release 下载失败,请检查本机能否连接 ${GITHUB_URL}${plain}"
 | 
				
			||||||
            return 0
 | 
					            return 0
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user