From 761d50610e4d6fbd592910ec1090df12464cc5ae Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Mon, 4 Sep 2006 19:16:44 +0000 Subject: [PATCH] - Added "stop" beautifier git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@319 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- client/beautifier.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/beautifier.py b/client/beautifier.py index 24c74095..c2443e8d 100644 --- a/client/beautifier.py +++ b/client/beautifier.py @@ -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):