BF: fail2ban-regex systemd-journal field fix for __CURSOR

pull/224/head
Steven Hiscocks 2013-05-12 13:05:21 +01:00
parent 33a7763cfc
commit c08bd67f50
1 changed files with 1 additions and 1 deletions

View File

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