fix: use service_proxy_address for GitHub proxy connectivity check

This commit is contained in:
Andrey Petelin
2026-06-13 12:21:59 +05:00
parent de7b73af3c
commit 34f49c392e

View File

@@ -510,7 +510,7 @@ list_update() {
local service_proxy_address
service_proxy_address="$(get_service_proxy_address)"
if [ -n "$http_proxy_address" ]; then
if [ -n "$service_proxy_address" ]; then
if curl -s -x "http://$service_proxy_address" -m $curl_timeout https://github.com > /dev/null; then
echolog "✅ GitHub connection check passed (via proxy)"
break