mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-08-03 22:27:49 +00:00
- Tightening up the pid check in redhat-initd. Thanks to David Nutter
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@599 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
f714c96d0e
commit
2816bca55b
2 changed files with 3 additions and 1 deletions
|
|
@ -18,6 +18,8 @@ ver. 0.8.1 (2007/??/??) - stable
|
|||
- Added "ignoreregex" support to fail2ban-regex
|
||||
- Updated suse-initd and added it to MANIFEST. Thanks to
|
||||
Christian Rauch
|
||||
- Tightening up the pid check in redhat-initd. Thanks to
|
||||
David Nutter
|
||||
|
||||
ver. 0.8.0 (2007/05/03) - stable
|
||||
----------
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ FAIL2BAN="/usr/bin/fail2ban-client"
|
|||
RETVAL=0
|
||||
|
||||
getpid() {
|
||||
pid=`ps -ef | grep fail2ban-|grep -v grep|awk '{print $2}'`
|
||||
pid=`ps -eo pid,comm | grep fail2ban- | awk '{ print $1 }'`
|
||||
}
|
||||
|
||||
start() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue