httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apache-1.3/src/support apachectl
Date Tue, 08 Sep 1998 21:07:14 GMT
martin      98/09/08 14:07:14

  Modified:    src/support apachectl
  Log:
  Suppress errors of 'kill -0' when no server is running
  
  Revision  Changes    Path
  1.10      +1 -1      apache-1.3/src/support/apachectl
  
  Index: apachectl
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/apachectl,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- apachectl	1998/07/16 21:25:54	1.9
  +++ apachectl	1998/09/08 21:07:13	1.10
  @@ -50,7 +50,7 @@
       # check for pidfile
       if [ -f $PIDFILE ] ; then
   	PID=`cat $PIDFILE`
  -	if kill -0 $PID; then
  +	if kill -0 $PID 2>/dev/null; then
   	    STATUS="httpd (pid $PID) running"
   	    RUNNING=1
   	else
  
  
  

Mime
View raw message