mirror of https://github.com/fail2ban/fail2ban
gh-3447: fix careless mistake arisen in b12a3acb06
by attempt to implement new reload capacity (rewritten latter): causing error "'noduplicates' is not defined" by double jail configuration
parent
a3a3fffa54
commit
f93a538693
|
@ -67,8 +67,7 @@ class Jails(Mapping):
|
|||
"""
|
||||
with self.__lock:
|
||||
if name in self._jails:
|
||||
if noduplicates:
|
||||
raise DuplicateJailException(name)
|
||||
raise DuplicateJailException(name)
|
||||
else:
|
||||
self._jails[name] = Jail(name, backend, db)
|
||||
|
||||
|
|
Loading…
Reference in New Issue