From 9539012e1365bd216c8428fbe09047792947bce0 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Sun, 10 Dec 2006 16:37:22 +0000 Subject: [PATCH] - 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 --- files/redhat-initd | 1 + 1 file changed, 1 insertion(+) diff --git a/files/redhat-initd b/files/redhat-initd index 5909efeb..12867615 100755 --- a/files/redhat-initd +++ b/files/redhat-initd @@ -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