From c4a2bb6cd7172f41edf7b198996cfc6480fec397 Mon Sep 17 00:00:00 2001 From: iliajie Date: Wed, 23 Nov 2022 16:12:35 +0200 Subject: [PATCH] Fix to exclude `file list` as well https://github.com/webmin/authentic-theme/issues/1632#issuecomment-1325125910 --- fail2ban/list_status.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fail2ban/list_status.cgi b/fail2ban/list_status.cgi index 333f92049..b10ce741d 100755 --- a/fail2ban/list_status.cgi +++ b/fail2ban/list_status.cgi @@ -51,7 +51,8 @@ if (@jails) { my $val = $2; $col = lc($col); $col =~ s/\s/_/g; - if ($col !~ /journal_matches/) { + if ($col !~ /journal_matches/ && + $col !~ /file_list/) { push(@head, "
".$text{"status_head_$col"}."
"); if ($col =~ /banned_ip_list/) { $jips = $val;