mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
BF: fail2ban-regex systemd-journal field fix for __CURSOR
This commit is contained in:
parent
33a7763cfc
commit
c08bd67f50
1 changed files with 1 additions and 1 deletions
|
|
@ -413,7 +413,7 @@ if __name__ == "__main__":
|
|||
if journal is None:
|
||||
print "Error: systemd library not found. Exiting..."
|
||||
sys.exit(-1)
|
||||
myjournal = journal.Reader()
|
||||
myjournal = journal.Reader(converters={'__CURSOR': lambda x: x})
|
||||
journalmatch = ""
|
||||
# Parse journal matches from command line
|
||||
for opt in optList:
|
||||
|
|
|
|||
Loading…
Reference in a new issue