diff options
Diffstat (limited to '2.4')
-rwxr-xr-x | 2.4/init/apache2.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/2.4/init/apache2.initd b/2.4/init/apache2.initd index f86a31e..23d1746 100755 --- a/2.4/init/apache2.initd +++ b/2.4/init/apache2.initd @@ -61,11 +61,11 @@ checkconfig() { checkpath --directory /run/apache_ssl_mutex checkconfd || return 1 - ${APACHE2} ${APACHE2_OPTS} -t 1>/dev/null 2>&1 + OUTPUT=$( ${APACHE2} ${APACHE2_OPTS} -t 2>&1 ) ret=$? if [ $ret -ne 0 ]; then eerror "${SVCNAME} has detected an error in your setup:" - ${APACHE2} ${APACHE2_OPTS} -t + printf "%s\n" "${OUTPUT}" fi return $ret |