From 3e1534334338e5105cb8503a92df8170ee7da277 Mon Sep 17 00:00:00 2001 From: sebres Date: Fri, 9 Feb 2018 11:34:02 +0100 Subject: [PATCH] fail2ban-regex: bug fixed, if running over systemd-journal and `journalmatch` missing in filter. --- fail2ban/client/fail2banregex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban/client/fail2banregex.py b/fail2ban/client/fail2banregex.py index c6338da5..b03c5cf6 100644 --- a/fail2ban/client/fail2banregex.py +++ b/fail2ban/client/fail2banregex.py @@ -614,7 +614,7 @@ class Fail2banRegex(object): self.setDatePattern(None) if journalmatch: flt.addJournalMatch(journalmatch) - output( "Use journal match : %s" % " ".join(journalmatch) ) + output( "Use journal match : %s" % " ".join(journalmatch) ) test_lines = journal_lines_gen(flt, myjournal) else: # if single line parsing (without buffering)