Commit 35c6d206 authored by Vitaly Lipatov's avatar Vitaly Lipatov

eterban: improve count output

parent ee073a58
...@@ -9,8 +9,8 @@ command="$1" ...@@ -9,8 +9,8 @@ command="$1"
if [ "$command" = "count" ] ; then if [ "$command" = "count" ] ; then
echo "Count of banned:" echo "Count of banned:"
# TODO: some quiet to ignore headers # TODO: some quiet to ignore headers
ipset list $setname | wc -l echo "$setname: $(ipset list $setname | wc -l)"
ipset list $setname_ipv6 | wc -l echo "$setname_ipv6: $(ipset list $setname_ipv6 | wc -l)"
exit exit
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment