- 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:
lostcontrol 2006-12-10 16:37:22 +00:00
parent fdca4d13fc
commit dcbcf5e8bf

View file

@ -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