mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
small bug fix (missing - by option --timeout, wrong module reference)
This commit is contained in:
parent
d334a36a60
commit
89f2dbb97b
1 changed files with 2 additions and 2 deletions
|
|
@ -155,8 +155,8 @@ class Fail2banCmdLine():
|
|||
self._conf["background"] = False
|
||||
elif o == "--async":
|
||||
self._conf["async"] = True
|
||||
elif o == "-timeout":
|
||||
from ..mytime import MyTime
|
||||
elif o == "--timeout":
|
||||
from ..server.mytime import MyTime
|
||||
self._conf["timeout"] = MyTime.str2seconds(opt[1])
|
||||
elif o in ["-h", "--help"]:
|
||||
self.dispUsage()
|
||||
|
|
|
|||
Loading…
Reference in a new issue