Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Mar 28, 2024
1 parent a8dbe1e commit fefa105
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parked.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function add_unparked_domains {
printf "\nChecking for domains that have been unparked.\n"

# Split into 12 equal files
split -d -l $(($(wc -l < "$raw_file")/12)) "$raw_file"
split -d -l $(($(wc -l < "$parked_domains_file")/12)) "$parked_domains_file"
check_for_unparked "x00" "main" & check_for_unparked "x01" &
check_for_unparked "x02" & check_for_unparked "x03" &
check_for_unparked "x04" & check_for_unparked "x05" &
Expand Down
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ function test_dead {

function test_parked {
# Requires at least 12 line to properly split
printf "%s\n" "$(head -n 12 "data/toplist.txt")" > "$raw_file"
printf "%s\n" "$(head -n 12 "data/toplist.txt")" > "$parked_domains_file"
printf "%s\n" "$(head -n 12 data/toplist.txt)" > "$raw_file"
printf "%s\n" "$(head -n 12 data/toplist.txt)" > "$parked_domains_file"

# Test addition of unparked domains
# Input
Expand Down

0 comments on commit fefa105

Please sign in to comment.