def.sh : quotes in dnstest

This commit is contained in:
bol-van 2021-10-29 11:20:18 +03:00
parent 6a821ab49a
commit 4d8f5d1782

View File

@ -171,7 +171,7 @@ flush_dns_cache()
} }
dnstest() dnstest()
{ {
local ip=$(echo w3.org | digger 46) local ip="$(echo w3.org | digger 46)"
[ -n "$ip" ] [ -n "$ip" ]
} }
dnstest_with_cache_clear() dnstest_with_cache_clear()