mirror of https://github.com/fail2ban/fail2ban
- Replaced ... or ... or ... with ... in ...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@356 a942ae1a-1317-0410-a47c-b1dcaea8d6050.x
parent
7f7361a282
commit
6333298fd7
|
@ -80,7 +80,7 @@ class Beautifier:
|
|||
elif inC == ["stop"]:
|
||||
if response == None:
|
||||
msg = "Shutdown successful"
|
||||
elif inC[2] == "logpath" or inC[2] == "addlogpath" or inC[2] == "dellogpath":
|
||||
elif inC[2] in ("logpath", "addlogpath", "dellogpath"):
|
||||
msg = "Current monitored log file(s):\n"
|
||||
for path in response[:-1]:
|
||||
msg = msg + "|- " + path + "\n"
|
||||
|
|
Loading…
Reference in New Issue