mirror of https://github.com/fail2ban/fail2ban
BF: fail2ban-regex systemd-journal field fix for __CURSOR
parent
33a7763cfc
commit
c08bd67f50
|
@ -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 New Issue