Update services.inc

This commit is contained in:
2025-06-12 20:27:55 -05:00
parent 779cedd561
commit ad5c0b4691

View File

@@ -24,7 +24,7 @@ SINGLE_SERVER_SERVICE_CHECK(){
sleep 4s
until [ "${completed}" == "true" ]; do
dnstest=$(dig +short +tries=1 +time=1 www.google.com @127.0.0.1)
if [ "${dnstest}" != "" ] && [[ "${dnstest}" != ";;"* ]]; then
if [ "${dnstest}" != "" ] && [[ "${dnstest}" != *";;"* ]]; then
completed=true
break