Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 1, 2024
1 parent 76e87b5 commit 6427ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/retrieve_domains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ process_source() {
# Logging removed as it inflated log size by too much

# Remove common subdomains
local domains_with_subdomains
local domains_with_subdomains # Declare local variable in case while loop does not run
while read -r subdomain; do # Loop through common subdomains
# Find domains and skip to next subdomain if none found
domains_with_subdomains="$(grep "^${subdomain}\." <<< "$domains")" \
Expand Down Expand Up @@ -144,7 +144,7 @@ process_source() {
fi

# Remove redundant domains
local redundant_domains
local redundant_domains # Declare local variable in case while loop does not run
local redundant_count=0
while read -r wildcard; do # Loop through wildcards
# Find redundant domains via wildcard matching and skip to
Expand Down

0 comments on commit 6427ced

Please sign in to comment.