Skip to content

Commit

Permalink
Merge branch '0.10' into 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
sebres committed Jan 19, 2018
2 parents c50875c + 9d5f20a commit 0a4a76c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions fail2ban/server/filterpyinotify.py
Expand Up @@ -374,8 +374,11 @@ def __check_events():
def stop(self):
# stop filter thread:
super(FilterPyinotify, self).stop()
if self.__notifier: # stop the notifier
self.__notifier.stop()
try:
if self.__notifier: # stop the notifier
self.__notifier.stop()
except AttributeError: # pragma: no cover
if self.__notifier: raise

##
# Wait for exit with cleanup.
Expand Down

0 comments on commit 0a4a76c

Please sign in to comment.