mirror of https://github.com/fail2ban/fail2ban
- Added a "sleep 1". Thanks to Jim Wight
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@482 a942ae1a-1317-0410-a47c-b1dcaea8d6050.x
parent
f366a0b282
commit
9539012e13
|
@ -48,6 +48,7 @@ stop() {
|
|||
if [ -n "$pid" ]; then
|
||||
$FAIL2BAN stop > /dev/null
|
||||
fi
|
||||
sleep 1
|
||||
getpid
|
||||
if [ -z "$pid" ]; then
|
||||
rm -f /var/lock/subsys/fail2ban
|
||||
|
|
Loading…
Reference in New Issue