Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/apache:master commit in: 2.2/init/
Date: Sat, 09 Nov 2013 15:33:04
Message-Id: 1253435525.691098c479438a8746f77fca79e1de902785f4db.polynomial-c@gentoo
1 commit: 691098c479438a8746f77fca79e1de902785f4db
2 Author: Benedikt Boehm <hollow <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 20 08:32:05 2009 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 20 08:32:05 2009 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/apache.git;a=commit;h=691098c4
7
8 fix #285449
9
10 ---
11 2.2/init/apache2.initd | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/2.2/init/apache2.initd b/2.2/init/apache2.initd
15 index b6e001e..0f6fa0a 100755
16 --- a/2.2/init/apache2.initd
17 +++ b/2.2/init/apache2.initd
18 @@ -137,7 +137,7 @@ fullstatus() {
19
20 if ! service_started "${SVCNAME}"; then
21 eerror "${SVCNAME} not started"
22 - elif ! type -p ${LYNX} 2>&1 >/dev/null; then
23 + elif ! type -p $(set -- ${LYNX}; echo $1) 2>&1 >/dev/null; then
24 eerror "lynx not found! you need to emerge www-client/lynx"
25 else
26 ${LYNX} ${STATUSURL}
27 @@ -157,7 +157,7 @@ configdump() {
28
29 if ! service_started "${SVCNAME}"; then
30 eerror "${SVCNAME} not started"
31 - elif ! type -p ${LYNX} 2>&1 >/dev/null; then
32 + elif ! type -p $(set -- ${LYNX}; echo $1) 2>&1 >/dev/null; then
33 eerror "lynx not found! you need to emerge www-client/lynx"
34 else
35 echo "${APACHE2} started with '${APACHE2_OPTS}'"