Skip to content

Commit

Permalink
check_dead.sh: sort correctly when removing dead domains to fix comm …
Browse files Browse the repository at this point in the history
…sorting error

check_dead.yml: update comments
  • Loading branch information
jarelllama authored Dec 11, 2024
1 parent e11dc31 commit 505ea6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_dead.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
ref: main

- name: check_dead.sh part 2
# Note the resurrected domains check only runs during part 2
# Note dead domains and resurrected domains are only removed/added in part 2.
run: bash scripts/check_dead.sh part2

- name: Push
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_dead.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ find_dead_in() {
# Function 'remove_dead' removes dead domains from the raw file, raw light
# file, root domains file and subdomains file.
remove_dead() {
cp "$DEAD_DOMAINS" dead.tmp
sort "$DEAD_DOMAINS" -o dead.tmp

# Remove dead domains from subdomains file
comm -23 "$SUBDOMAINS" dead.tmp > temp
Expand Down

0 comments on commit 505ea6c

Please sign in to comment.