From a7ade07bf404e157472b0f6b5eccb0c33a406746 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Sun, 19 Jun 2022 23:06:42 +0200 Subject: [PATCH] fixes typo (copy&paste) by logging of flush impossibility at consistency check, #3306 --- fail2ban/server/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)