File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17861,15 +17861,15 @@ check_resolver_bins() {
1786117861 type -p idn &>/dev/null && HAS_IDN=true
1786217862 type -p idn2 &>/dev/null && HAS_IDN2=true
1786317863
17864- # Old dig versions don't have an option to ignore $HOME/.digrc
17865- if ! dig -h | grep -qE '\-r.*~/.digrc'; then
17866- HAS_DIG_R=false
17867- DIG_R=""
17868- fi
1786917864 if ! "$HAS_DIG" && ! "$HAS_HOST" && ! "$HAS_DRILL" && ! "$HAS_NSLOOKUP"; then
1787017865 fatal "Neither \"dig\", \"host\", \"drill\" or \"nslookup\" is present" $ERR_DNSBIN
1787117866 fi
1787217867 if "$HAS_DIG"; then
17868+ # Old dig versions don't have an option to ignore $HOME/.digrc
17869+ if ! dig -h | grep -qE '\-r.*~/.digrc'; then
17870+ HAS_DIG_R=false
17871+ DIG_R=""
17872+ fi
1787317873 if dig -h | grep -Eq idnout; then
1787417874 HAS_DIG_NOIDNOUT=true
1787517875 fi
You can’t perform that action at this time.
0 commit comments