summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2009-09-20 08:32:05 +0000
committerBenedikt Boehm <hollow@gentoo.org>2009-09-20 08:32:05 +0000
commit691098c479438a8746f77fca79e1de902785f4db (patch)
tree79f887b45ea9a7ed60e501332d09d8e0b577e8bc
parentfix digest generation (diff)
downloadapache-691098c479438a8746f77fca79e1de902785f4db.tar.gz
apache-691098c479438a8746f77fca79e1de902785f4db.tar.bz2
apache-691098c479438a8746f77fca79e1de902785f4db.zip
fix #285449
-rwxr-xr-x2.2/init/apache2.initd4
1 files 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}'"