summaryrefslogtreecommitdiff
path: root/fail2ban
diff options
context:
space:
mode:
authorSergey G. Brester <serg.brester@sebres.de>2022-06-19 23:06:42 +0200
committerGitHub <noreply@github.com>2022-06-19 23:06:42 +0200
commita7ade07bf404e157472b0f6b5eccb0c33a406746 (patch)
tree8f8fc3f9cbc8c46c6174372db4f66fbfc746cf53 /fail2ban
parent5aeb49a62005cbc9635037fdf2373d044e2b0d8d (diff)
downloadfail2ban-a7ade07bf404e157472b0f6b5eccb0c33a406746.tar.gz
fixes typo (copy&paste) by logging of flush impossibility at consistency check, #3306
Diffstat (limited to 'fail2ban')
-rw-r--r--fail2ban/server/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fail2ban/server/actions.py b/fail2ban/server/actions.py
index eb14c14f..7eff48f6 100644
--- a/fail2ban/server/actions.py
+++ b/fail2ban/server/actions.py
@@ -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)