Skip to content
Snippets Groups Projects
Commit aa88b775 authored by root's avatar root Committed by Rémi - Le Filament
Browse files

Fix count number

parent da407445
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ bcount=$(echo "$ban"|grep -v ^\# | grep -v ^$|wc -l) ...@@ -115,7 +115,7 @@ bcount=$(echo "$ban"|grep -v ^\# | grep -v ^$|wc -l)
if [ "$bcount" -ge ${warn} ] && [ "$bcount" -lt ${crit} ]; then if [ "$bcount" -ge ${warn} ] && [ "$bcount" -lt ${crit} ]; then
State="Warning" State="Warning"
elif [ "$bcount" -ge ${warn} ];then elif [ "$bcount" -ge ${crit} ];then
State="Critical" State="Critical"
else else
State="Ok" State="Ok"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment