fail2ban-regex: bug fixed, if running over systemd-journal and `journalmatch` missing in filter.

pull/2048/head
sebres 2018-02-09 11:34:02 +01:00
parent 98f4d70371
commit 3e15343343
1 changed files with 1 additions and 1 deletions

View File

@ -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)