mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Fix missing negation in check_resolver_bins
This commit is contained in:
parent
89dd26e043
commit
1ab48b4a79
@ -17495,7 +17495,7 @@ check_resolver_bins() {
|
|||||||
type -p idn &>/dev/null && HAS_IDN=true
|
type -p idn &>/dev/null && HAS_IDN=true
|
||||||
type -p idn2 &>/dev/null && HAS_IDN2=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
|
fatal "Neither \"dig\", \"host\", \"drill\" or \"nslookup\" is present" $ERR_DNSBIN
|
||||||
fi
|
fi
|
||||||
if "$HAS_DIG"; then
|
if "$HAS_DIG"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user