added rbl.abuse.ro, decimals reduced in output
This commit is contained in:
parent
6178e65ca8
commit
0b87f81204
1 changed files with 2 additions and 1 deletions
|
|
@ -113,6 +113,7 @@ zen.spamhaus.org
|
||||||
#dsn.rfc-ignorant.org
|
#dsn.rfc-ignorant.org
|
||||||
#postmaster.rfc-ignorant.org
|
#postmaster.rfc-ignorant.org
|
||||||
#whois.rfc-ignorant.org
|
#whois.rfc-ignorant.org
|
||||||
|
rbl.abuse.ro
|
||||||
)
|
)
|
||||||
|
|
||||||
# No need to edit anything below this line
|
# No need to edit anything below this line
|
||||||
|
|
@ -202,7 +203,7 @@ for i in "${dnsbl[@]}"; do
|
||||||
check_rbl node
|
check_rbl node
|
||||||
done
|
done
|
||||||
|
|
||||||
PERC=$(echo "scale=3; ($LISTED / $WHATSLEFT) * 100" | bc)
|
PERC=$(echo "scale=2; ($LISTED / $WHATSLEFT) * 100" | bc)
|
||||||
echo -e "Listings:\t$LISTED ($PERC %)"
|
echo -e "Listings:\t$LISTED ($PERC %)"
|
||||||
|
|
||||||
# Set return code
|
# Set return code
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue