httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <c...@Apache.Org>
Subject Re: cvs commit: apache-1.3/src/support apachectl
Date Tue, 08 Sep 1998 21:14:15 GMT
martin@hyperreal.org wrote:
> 
>   Log:
>   Suppress errors of 'kill -0' when no server is running
> 
>   -     if kill -0 $PID; then
>   +     if kill -0 $PID 2>/dev/null; then

The problem with this is that it will conceal legitimate errors,
such as '-0' not being a valid combination (as I think was
discovered about six weeks ago on some system or other).

#ken    P-)}

Ken Coar                    <http://Web.Golux.Com/coar/>
Apache Group member         <http://www.apache.org/>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>

Mime
View raw message