Package: fail2ban
Version: 0.6.1-3
Severity: grave
Tags: patch
--- /etc/init.d/fail2ban.orig 2006-06-06 16:30:22.760214786 +0200
+++ /etc/init.d/fail2ban 2006-06-06 16:38:44.260607142 +0200
@@ -60,8 +60,10 @@
|| return 1
# we need to remove pid file or fail2ban would refuse to start
# probably check could be ommited but... better be safe
- pidofproc $NAME $PIDFILE > /dev/null
- [ $? -eq 2 ] && rm -rf $PIDFILE
+ if [ -f $PIDFILE ]; then
+ pidofproc $NAME < $PIDFILE > /dev/null
+ [ $? -eq 2 ] && rm -rf $PIDFILE
+ fi
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2-- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer and author: http://debiansystem.info `. `'` `- Debian - when you have better things to do than fixing a system
signature.asc
Description: Digital signature (GPG/PGP)

