mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
backend "systemd" can be used as prefix now - backend = systemd[...]
This commit is contained in:
parent
7ed6cab120
commit
35b5fea038
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ class JailReader(ConfigReader):
|
|||
stream = []
|
||||
for opt in self.__opts:
|
||||
if opt == "logpath" and \
|
||||
self.__opts.get('backend', None) != "systemd":
|
||||
not self.__opts.get('backend', None).startswith("systemd"):
|
||||
found_files = 0
|
||||
for path in self.__opts[opt].split("\n"):
|
||||
path = path.rsplit(" ", 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue