mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
fixed cleanup for Gamin backend (by interim stop in the test-cases)
This commit is contained in:
parent
7b614a7a15
commit
9841fe52c3
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ class FilterGamin(FileFilter):
|
|||
# Desallocates the resources used by Gamin.
|
||||
|
||||
def __cleanup(self):
|
||||
if not self.monitor:
|
||||
return
|
||||
for filename in self.getLogPaths():
|
||||
self.monitor.stop_watch(filename)
|
||||
self.monitor = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue