diff --git a/deploy/scripts/2-install-tools/install_tools.sh b/deploy/scripts/2-install-tools/install_tools.sh index 8ca6d9aa2c863de7cb093c52b040cb362708a3d0..8536d036514b1d814fb13265fc911c3fb4f45c65 100755 --- a/deploy/scripts/2-install-tools/install_tools.sh +++ b/deploy/scripts/2-install-tools/install_tools.sh @@ -341,7 +341,7 @@ function check_k3s_status() { check_hub_connection() { if curl -sSf http://hub.oepkgs.net >/dev/null 2>&1; then echo -e "[Info] 镜像站连接正常" - return 1 + return 0 else echo -e "[Error] 镜像站连接失败" return 1