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 21bd876 commit 44a0717
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions/check_dead.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ check_dead() {
# Function 'check_alive' finds resurrected domains in the dead domains file
# and adds them back into the raw file.
check_alive() {
find_dead "$DEAD_DOMAINS" || return
find_dead "$DEAD_DOMAINS" # No need to return if no dead found

# Get resurrected domains in dead domains file
# (dead domains file is unsorted)
Expand Down
3 changes: 2 additions & 1 deletion functions/check_parked.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ remove_parked_domains() {
# Function 'add_unparked_domains' finds unparked domains in the parked domains
# file and adds them back into the raw file.
add_unparked_domains() {
retrieve_parked "$PARKED_DOMAINS" || return
retrieve_parked "$PARKED_DOMAINS" # No need to return if no parked found

# Get unparked domains
unparked_domains="$(grep -vxFf parked_domains.tmp "$PARKED_DOMAINS")"
[[ -z "$unparked_domains" ]] && return

# Keep only parked domains in parked domains file
grep -xFF parked_domains.tmp "$PARKED_DOMAINS" > parked.tmp
Expand Down

0 comments on commit 44a0717

Please sign in to comment.