Commit a7619767 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

Simple patch to permit syntax such as...

  bin/apachectl start -X

or similar, based on evaluating only the first arg as an apxs 'command',
and permitting additional args in httpd-style syntax.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@505739 13f79535-47bb-0310-9956-ffa450edef68
parent cc83694b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
# When multiple arguments are given, only the error from the _last_
# one is reported.  Run "apachectl help" for usage info
#
ACMD="$1"
ARGV="$@"
#
# |||||||||||||||||||| START CONFIGURATION SECTION  ||||||||||||||||||||
@@ -75,7 +76,7 @@ if [ "x$ARGV" = "x" ] ; then
    ARGV="-h"
fi

case $ARGV in
case $ACMD in
start|stop|restart|graceful|graceful-stop)
    $HTTPD -k $ARGV
    ERROR=$?