Skip to content

Commit

Permalink
Update fetch-protonvpn.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
splitice authored Dec 4, 2024
1 parent 7a1d0bf commit abd0b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fetch-protonvpn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
fi
ips_covered=$(awk -F/ 'BEGIN{a=0}{if($2==""){a+=1}else{a+=2^(32-$2)}}END{print a}' protonvpn.txt)
if [[ "$ips_covered" -lt 4000 ]]; then
if [[ "$ips_covered" -lt 6000 ]]; then
echo "Too few addresses covered ($ips_covered)"
exit 1
fi
if [[ "$ips_covered" -gt 8000 ]]; then
if [[ "$ips_covered" -gt 10000 ]]; then
echo "Too many addresses covered ($ips_covered)"
exit 1
fi
Expand Down

0 comments on commit abd0b19

Please sign in to comment.