diff options
Diffstat (limited to '2.4/scripts/apache2ctl')
-rw-r--r-- | 2.4/scripts/apache2ctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2.4/scripts/apache2ctl b/2.4/scripts/apache2ctl index 9012520..8031b8b 100644 --- a/2.4/scripts/apache2ctl +++ b/2.4/scripts/apache2ctl @@ -20,7 +20,7 @@ load_rc_config() { # If first parameter is a verb defined in $RC_VERBS, pass the command to init script. # In other cases, compile command line and run the command on apache binary. -if echo "${RC_VERBS}" | grep -q "${1}" ; then +if echo "${RC_VERBS}" | grep -q -- "${1}" ; then exec /etc/init.d/apache2 "${@}" else load_rc_config || exit 1 |