mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
amend to a4459765ef: irrelevant condition removed
This commit is contained in:
parent
a4459765ef
commit
ceff489a46
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ class FilterPoll(FileFilter):
|
|||
else: # pragma: no cover
|
||||
logSys.error("Unable to get stat on %s because of: %s",
|
||||
filename, e,
|
||||
exc_info=e.errno != 2 and logSys.getEffectiveLevel()<=logging.DEBUG)
|
||||
exc_info=logSys.getEffectiveLevel()<=logging.DEBUG)
|
||||
# increase file and common error counters:
|
||||
self.__file404Cnt[filename] += 1
|
||||
self.commonError()
|
||||
|
|
|
|||
Loading…
Reference in a new issue