Browse Source

BF: fail2ban-regex fix for maxlines init option reader

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

2
bin/fail2ban-regex

@ -213,7 +213,7 @@ class Fail2banRegex:
# Read out and set possible value of maxlines
try:
maxlines = reader.get("Init", "maxlines")
except NoSectionError, NoOptionError:
except (NoSectionError, NoOptionError):
# No [Init].maxlines found.
pass
else:

Loading…
Cancel
Save