httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject Re: apache exit status
Date Mon, 30 Sep 1996 20:52:30 GMT
On 30 Sep 1996, Tom Tromey wrote:
> Right now Apache will exit with status 1 in response to the -v and -h
> options.  I think it should instead exit with status 0 here.  These
> exits are not errors, but are simply informational.
> 
> Also, in a script it is convenient to be able to check for Apache by
> trying the -v option and bombing on failure:
> 
> 	httpd -v > /dev/null 2>&1 || {
> 	   echo "nope"; exit 1
> 	}

+1.  This is small enough I think committing it should be uncontroversial...

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS


Mime
View raw message