Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Mar 28, 2024
1 parent b196081 commit 74025e6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions parked.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ function check_for_unparked {
fi
if [[ "$2" == 'main' ]]; then
percentage_count="$((count*100/total))"
printf "%s\n" "$count"
#((percentage_count % 5 == 0)) && printf "%s%%\n" "$percentage_count"
((percentage_count % 5 == 0)) && printf "%s%%\n" "$percentage_count"
((count++))
fi
done < "$1"
Expand All @@ -97,8 +96,11 @@ function check_for_parked {
printf "%s\n" "$domain" >> "parked_domains_${1}.tmp"
fi
if [[ "$2" == 'main' ]]; then

printf "%s\n" "$count"

percentage_count="$((count*100/total))"
((percentage_count % 5 == 0)) && printf "%s%%\n" "$percentage_count"
#((percentage_count % 5 == 0)) && printf "%s%%\n" "$percentage_count"
((count++))
fi
done < "$1"
Expand Down

0 comments on commit 74025e6

Please sign in to comment.