Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 566726 | Differences between
and this patch

Collapse All | Expand All

(-)a/2.4/init/apache2.initd (-3 / +2 lines)
Lines 61-71 checkconfig() { Link Here
61
	checkpath --directory /run/apache_ssl_mutex
61
	checkpath --directory /run/apache_ssl_mutex
62
	checkconfd || return 1
62
	checkconfd || return 1
63
63
64
	${APACHE2} ${APACHE2_OPTS} -t 1>/dev/null 2>&1
64
	OUTPUT=$( ${APACHE2} ${APACHE2_OPTS} -t 2>&1 )
65
	ret=$?
65
	ret=$?
66
	if [ $ret -ne 0 ]; then
66
	if [ $ret -ne 0 ]; then
67
		eerror "${SVCNAME} has detected an error in your setup:"
67
		eerror "${SVCNAME} has detected an error in your setup:"
68
		${APACHE2} ${APACHE2_OPTS} -t
68
		printf "%s\n" "${OUTPUT}"
69
	fi
69
	fi
70
70
71
	return $ret
71
	return $ret
72
- 

Return to bug 566726