mirror of https://github.com/fail2ban/fail2ban
parent
5f3f4d1e2f
commit
164105fab1
|
@ -94,6 +94,11 @@ class FilterSystemd(JournalFilter): # pragma: systemd no cover
|
||||||
# be sure all journal types will be opened if files specified (don't set flags):
|
# be sure all journal types will be opened if files specified (don't set flags):
|
||||||
if 'files' not in args or not len(args['files']):
|
if 'files' not in args or not len(args['files']):
|
||||||
args['flags'] = 4
|
args['flags'] = 4
|
||||||
|
|
||||||
|
try:
|
||||||
|
args['namespace'] = kwargs.pop('namespace')
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue