Update services.inc

This commit is contained in:
2025-06-11 23:30:44 -05:00
parent ea69a6d84b
commit 31d34784da

View File

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