mirror of https://github.com/fail2ban/fail2ban
- Fixed reload option
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@301 a942ae1a-1317-0410-a47c-b1dcaea8d6050.x
parent
704a0b834f
commit
f44dab9ea7
|
@ -169,7 +169,7 @@ class Fail2banClient:
|
|||
elif len(cmd) == 1 and cmd[0] == "reload":
|
||||
if self.ping():
|
||||
self.readConfig()
|
||||
self.processCmd(['stop', 'all'], False)
|
||||
self.processCmd([['stop', 'all']], False)
|
||||
# Configure the server
|
||||
return self.processCmd(self.stream, False)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue