Merge pull request #307 from itdoginfo/fix/dns-check

fix: use nslookup_attempts for DNS check loop
This commit is contained in:
Kirill Sobakin
2026-01-28 10:49:34 +03:00
committed by GitHub

View File

@@ -490,7 +490,7 @@ list_update() {
local i
# DNS Check
for i in $(seq 1 $nslookup_timeout); do
for i in $(seq 1 $nslookup_attempts); do
if nslookup -timeout=$nslookup_timeout openwrt.org > /dev/null 2>&1; then
echolog "✅ DNS check passed"
break