domainfind: Remove stripped TLD from desired word
This commit is contained in:
parent
75e87025ad
commit
a633f3d8fa
@ -87,7 +87,7 @@ checkavaildomains() {
|
||||
! [[ $word == *$tldstrip ]] && continue
|
||||
[[ $word == $tldstrip ]] && continue # Ignore the tld itself
|
||||
log "Processing word: $word" 2
|
||||
prefix="${word%$tld}"
|
||||
prefix="${word%$tldstrip}"
|
||||
fqdn="$prefix.$tld"
|
||||
log "Looking for domain: $fqdn" 2
|
||||
# We wait here so a ^C kills our program, not nslookup
|
||||
|
Loading…
Reference in New Issue
Block a user