Browse Source

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

pull/224/head
Steven Hiscocks 12 years ago
parent
commit
c08bd67f50
  1. 2
      bin/fail2ban-regex

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

Loading…
Cancel
Save