diff --git a/inc/services.inc b/inc/services.inc index a4456405..795abaa8 100755 --- a/inc/services.inc +++ b/inc/services.inc @@ -18,7 +18,6 @@ SINGLE_SERVER_SERVICE_CHECK(){ if [ ! -f ${NM_TMPFOLDER}/.skip ] && ([[ "$(declare -p ${1^^}_SINGLESRVR_SERVICES)" =~ "declare -a" ]] || [[ "$(declare -p ${1^^}_SINGLESRVR_DOCKERS)" =~ "declare -a" ]] || [ "${1^^}" == "LPD" ] || [ "${1^^}" == "DNS" ] || [ "${1^^}" == "LDNS" ]); then if [ "${1^^}" == "LPD" ] || [ "${1^^}" == "DNS" ] || [ "${1^^}" == "LDNS" ]; then - echo yes dnstest=$(dig +short +tries=3 +time=3 www.google.com @127.0.0.1) if [ "${dnstest}" == "" ] || [[ "${dnstest}" == *";;"* ]]; then SKIP_SERVER_CHECKS on >/dev/null 2>&1