diff --git a/fail2ban/client/jailreader.py b/fail2ban/client/jailreader.py index c86c3153..b29d12fa 100644 --- a/fail2ban/client/jailreader.py +++ b/fail2ban/client/jailreader.py @@ -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)