Browse Source

Fix check to see if dig supports +noidnout (only broke on debian)

pull/678/head
Tim Kimber 4 years ago
parent
commit
84a3cf2640
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      getssl

+ 2
- 1
getssl View File

@ -1167,11 +1167,12 @@ find_dns_utils() {
HAS_DIG_OR_DRILL="dig"
fi
if [[ $(${HAS_DIG_OR_DRILL} +noidnout >/dev/null 2>&1) ]]; then
if [[ -z $(dig +noidnout >/dev/null 2>&1) ]]; then
DIG_SUPPORTS_NOIDNOUT=true
fi
debug "HAS DIG_OR_DRILL=$HAS_DIG_OR_DRILL"
debug "DIG_SUPPORTS_NOIDNOUT=$DIG_SUPPORTS_NOIDNOUT"
fi
if [[ -n "$(command -v host 2>/dev/null)" ]]; then


Loading…
Cancel
Save