mirror of https://github.com/fail2ban/fail2ban
fixes typo (copy&paste) by logging of flush impossibility at consistency check, #3306
parent
5aeb49a620
commit
a7ade07bf4
|
@ -616,7 +616,7 @@ class Actions(JailThread, Mapping):
|
|||
if hasattr(action, 'consistencyCheck'):
|
||||
def _beforeRepair():
|
||||
if stop and not getattr(action, 'actionrepair_on_unban', None): # don't need repair on stop
|
||||
self._logSys.error("Invariant check failed. Flush is impossible.")
|
||||
logSys.error("Invariant check failed. Flush is impossible.")
|
||||
return False
|
||||
return True
|
||||
action.consistencyCheck(_beforeRepair)
|
||||
|
|
Loading…
Reference in New Issue