backend "systemd" can be used as prefix now - `backend = systemd[...]`

pull/1523/head
sebres 2016-09-01 15:44:32 +02:00
parent 7ed6cab120
commit 35b5fea038
1 changed files with 1 additions and 1 deletions

View File

@ -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)