Fix missing negation in check_resolver_bins

This commit is contained in:
a666 2019-11-11 14:32:41 -06:00 committed by GitHub
parent 89dd26e043
commit 1ab48b4a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17495,7 +17495,7 @@ check_resolver_bins() {
type -p idn &>/dev/null && HAS_IDN=true
type -p idn2 &>/dev/null && HAS_IDN2=true
if ! "$HAS_DIG" && ! "$HAS_HOST" && "$HAS_DRILL" && ! "$HAS_NSLOOKUP"; then
if ! "$HAS_DIG" && ! "$HAS_HOST" && ! "$HAS_DRILL" && ! "$HAS_NSLOOKUP"; then
fatal "Neither \"dig\", \"host\", \"drill\" or \"nslookup\" is present" $ERR_DNSBIN
fi
if "$HAS_DIG"; then