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

pull/2048/head
sebres 7 years ago
parent 98f4d70371
commit 3e15343343

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

Loading…
Cancel
Save