Browse Source

- Beautified "ping" response

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@386 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 18 years ago
parent
commit
26e5690a4b
  1. 4
      client/beautifier.py

4
client/beautifier.py

@ -53,7 +53,9 @@ class Beautifier:
inC = self.__inputCmd
msg = response
try:
if inC[0] == "start":
if inC[0] == "ping":
msg = "Server replied: " + response
elif inC[0] == "start":
msg = "Jail started"
elif inC[0] == "stop":
if len(inC) == 1:

Loading…
Cancel
Save