Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 3, 2024
1 parent 30903a9 commit c0217cf
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions functions/retrieve_domains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,15 @@ build() {

count_before="$(wc -l < "$RAW")"

# Add domains to raw file and raw light file
# Add domains to raw file
cat retrieved_domains.tmp >> "$RAW"
cat retrieved_light_domains.tmp >> "$RAW_LIGHT"
format_file "$RAW"
format_file "$RAW_LIGHT"

# Add domains to raw light file
if [[ -f retrieved_light_domains.tmp ]]; then
cat retrieved_light_domains.tmp >> "$RAW_LIGHT"
format_file "$RAW_LIGHT"
fi

log_event "$(<retrieved_domains.tmp)" new_domain retrieval

Expand Down

0 comments on commit c0217cf

Please sign in to comment.