mirror of https://github.com/fail2ban/fail2ban
- Beautified "ping" response
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@386 a942ae1a-1317-0410-a47c-b1dcaea8d6050.x
parent
0616135350
commit
26e5690a4b
|
@ -53,7 +53,9 @@ class Beautifier:
|
||||||
inC = self.__inputCmd
|
inC = self.__inputCmd
|
||||||
msg = response
|
msg = response
|
||||||
try:
|
try:
|
||||||
if inC[0] == "start":
|
if inC[0] == "ping":
|
||||||
|
msg = "Server replied: " + response
|
||||||
|
elif inC[0] == "start":
|
||||||
msg = "Jail started"
|
msg = "Jail started"
|
||||||
elif inC[0] == "stop":
|
elif inC[0] == "stop":
|
||||||
if len(inC) == 1:
|
if len(inC) == 1:
|
||||||
|
|
Loading…
Reference in New Issue