mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
- Added a "sleep 1". Thanks to Jim Wight
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@482 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
fdca4d13fc
commit
dcbcf5e8bf
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue