mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-06-20 01:44:58 +03:00
Merge pull request #395 from itdoginfo/fix/list-update
fix: use service_proxy_address for GitHub proxy connectivity check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user