mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
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
This commit is contained in:
parent
a3a3fffa54
commit
f93a538693
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue