added rbl.abuse.ro, decimals reduced in output

This commit is contained in:
Oliver Ladner 2013-02-08 10:39:30 +01:00
commit 0b87f81204

View file

@ -113,6 +113,7 @@ zen.spamhaus.org
#dsn.rfc-ignorant.org
#postmaster.rfc-ignorant.org
#whois.rfc-ignorant.org
rbl.abuse.ro
)
# No need to edit anything below this line
@ -202,7 +203,7 @@ for i in "${dnsbl[@]}"; do
check_rbl node
done
PERC=$(echo "scale=3; ($LISTED / $WHATSLEFT) * 100" | bc)
PERC=$(echo "scale=2; ($LISTED / $WHATSLEFT) * 100" | bc)
echo -e "Listings:\t$LISTED ($PERC %)"
# Set return code