Update check_fail2ban

Removed unnecessary reference to as yet undeclared $jail_name when checking a specific jail.
pull/555/head^2
alasdairdc 2014-01-06 10:43:32 +00:00
parent 04c267c307
commit 5428f5bbc3
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ if ($jail_specific) {
else {
$how_many_banned = int($current_ban_number);
$return_print = $how_many_banned.' current banned IP(s) for the specific jail '.$jail_specific;
$perf_print .= "$jail_name.currentBannedIP=$current_ban_number " if ($perfdata_value);
$perf_print .= "$current_ban_number " if ($perfdata_value);
}
}
### To analyze all the jail