mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
- Added "stop" beautifier
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@319 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
6456676d35
commit
761d50610e
1 changed files with 3 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue