- Added "stop" beautifier

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@319 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 2006-09-04 19:16:44 +00:00
parent 6456676d35
commit 761d50610e
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ class Beautifier:
msg = msg + "DEBUG"
else:
msg = msg + `response`
elif self.inputCmd == ["stop"]:
if response == None:
msg = "Shutdown successful"
return msg
def beautifyError(self, response):