- Beautified "ping" response

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@386 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 2006-09-25 20:45:23 +00:00
parent 0616135350
commit 26e5690a4b
1 changed files with 3 additions and 1 deletions

View File

@ -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: