diff options
Diffstat (limited to 'www/apache13-fp/files/patch-ak')
-rw-r--r-- | www/apache13-fp/files/patch-ak | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/apache13-fp/files/patch-ak b/www/apache13-fp/files/patch-ak index d8851fce561e..3e2dd12eba03 100644 --- a/www/apache13-fp/files/patch-ak +++ b/www/apache13-fp/files/patch-ak @@ -1,5 +1,5 @@ ---- src/support/apachectl.orig Fri Jan 1 13:05:32 1999 -+++ src/support/apachectl Thu Jan 21 20:14:27 1999 +--- src/support/apachectl.orig Tue Feb 9 12:00:34 1999 ++++ src/support/apachectl Sat Apr 3 15:40:42 1999 @@ -27,6 +27,10 @@ # the path to your httpd binary, including options if necessary HTTPD='/usr/local/apache/src/httpd' @@ -24,8 +24,8 @@ # check for pidfile if [ -f $PIDFILE ] ; then PID=`cat $PIDFILE` -- if kill -0 $PID; then -+ if kill -0 $PID > /dev/null 2>&1; then +- if [ ! "x$PID" = "x" ] && kill -0 $PID; then ++ if [ ! "x$PID" = "x" ] && kill -0 $PID > /dev/null 2>&1; then STATUS="httpd (pid $PID) running" RUNNING=1 else |