diff --git a/bin/fail2ban-regex b/bin/fail2ban-regex index 078a936f..59f4f45e 100755 --- a/bin/fail2ban-regex +++ b/bin/fail2ban-regex @@ -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: