- Fixed reload option

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@301 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 19 years ago
parent 704a0b834f
commit f44dab9ea7

@ -169,7 +169,7 @@ class Fail2banClient:
elif len(cmd) == 1 and cmd[0] == "reload": elif len(cmd) == 1 and cmd[0] == "reload":
if self.ping(): if self.ping():
self.readConfig() self.readConfig()
self.processCmd(['stop', 'all'], False) self.processCmd([['stop', 'all']], False)
# Configure the server # Configure the server
return self.processCmd(self.stream, False) return self.processCmd(self.stream, False)
else: else:

Loading…
Cancel
Save