From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56158138334 for ; Tue, 26 Feb 2019 15:42:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4BDD6E0876; Tue, 26 Feb 2019 15:42:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1DD19E0876 for ; Tue, 26 Feb 2019 15:42:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60EFE335C78 for ; Tue, 26 Feb 2019 15:42:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C800F550 for ; Tue, 26 Feb 2019 15:42:49 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1551195688.02437d8a3c0a83d2e20af8f05f071233ad1d3339.polynomial-c@gentoo> Subject: [gentoo-commits] proj/apache:master commit in: 2.4/scripts/ X-VCS-Repository: proj/apache X-VCS-Files: 2.4/scripts/apache2ctl X-VCS-Directories: 2.4/scripts/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 02437d8a3c0a83d2e20af8f05f071233ad1d3339 X-VCS-Branch: master Date: Tue, 26 Feb 2019 15:42:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5c3d58c2-60a8-450c-bee6-b444c2f972df X-Archives-Hash: 6188f265a3278aecc3fe7c6badfd3d36 commit: 02437d8a3c0a83d2e20af8f05f071233ad1d3339 Author: Lars Wendler gentoo org> AuthorDate: Tue Feb 26 15:40:26 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue Feb 26 15:41:28 2019 +0000 URL: https://gitweb.gentoo.org/proj/apache.git/commit/?id=02437d8a apache2ctl: Don't show grep usage message with leading "-" options. Thanks-to: Freenode IRC-user "omelius" Signed-off-by: Lars Wendler gentoo.org> 2.4/scripts/apache2ctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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