public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/apache:master commit in: 2.2/init/
Date: Sat,  9 Nov 2013 15:32:59 +0000 (UTC)	[thread overview]
Message-ID: <1253435525.691098c479438a8746f77fca79e1de902785f4db.polynomial-c@gentoo> (raw)

commit:     691098c479438a8746f77fca79e1de902785f4db
Author:     Benedikt Boehm <hollow <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 20 08:32:05 2009 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 08:32:05 2009 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/apache.git;a=commit;h=691098c4

fix #285449

---
 2.2/init/apache2.initd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/2.2/init/apache2.initd b/2.2/init/apache2.initd
index b6e001e..0f6fa0a 100755
--- a/2.2/init/apache2.initd
+++ b/2.2/init/apache2.initd
@@ -137,7 +137,7 @@ fullstatus() {
 
 	if ! service_started "${SVCNAME}"; then
 		eerror "${SVCNAME} not started"
-	elif ! type -p ${LYNX} 2>&1 >/dev/null; then
+	elif ! type -p $(set -- ${LYNX}; echo $1) 2>&1 >/dev/null; then
 		eerror "lynx not found! you need to emerge www-client/lynx"
 	else
 		${LYNX} ${STATUSURL}
@@ -157,7 +157,7 @@ configdump() {
 
 	if ! service_started "${SVCNAME}"; then
 		eerror "${SVCNAME} not started"
-	elif ! type -p ${LYNX} 2>&1 >/dev/null; then
+	elif ! type -p $(set -- ${LYNX}; echo $1) 2>&1 >/dev/null; then
 		eerror "lynx not found! you need to emerge www-client/lynx"
 	else
 		echo "${APACHE2} started with '${APACHE2_OPTS}'"


             reply	other threads:[~2013-11-09 15:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-09 15:32 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-05-14 13:56 [gentoo-commits] proj/apache:master commit in: 2.2/init/ Lars Wendler
2013-11-09 17:09 Lars Wendler
2013-11-09 15:36 Lars Wendler
2013-11-09 15:33 Lars Wendler
2013-11-09 15:33 Lars Wendler
2013-11-09 15:33 Lars Wendler
2013-11-09 15:32 Lars Wendler
2013-11-09 11:41 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1253435525.691098c479438a8746f77fca79e1de902785f4db.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox