mirror of https://github.com/fail2ban/fail2ban
BF: Keep sure database errors are captured during Fail2Ban startup
parent
c701ac9276
commit
9bbf4ea258
|
@ -62,5 +62,6 @@ class Fail2banReader(ConfigReader):
|
|||
stream.append(["set", "dbfile", self.__opts[opt]])
|
||||
elif opt == "dbpurgeage":
|
||||
stream.append(["set", "dbpurgeage", self.__opts[opt]])
|
||||
return stream
|
||||
# Ensure logtarget/level set first so any db errors are captured
|
||||
return sorted(stream, reverse=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue