diff options
author | mboelen <michael@cisofy.com> | 2015-10-01 17:06:27 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-10-01 17:06:27 +0300 |
commit | a6ac097a933881233e4dbfd114af6272b8f67d35 (patch) | |
tree | bf53053bde69fafe80809f65c42d377b1b30c670 /include/tests_webservers | |
parent | 85f6c555b213ef4cf70ca9dc3d8045bba1a16df4 (diff) |
Redirect possible errors instead of display on screen
Diffstat (limited to 'include/tests_webservers')
-rw-r--r-- | include/tests_webservers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_webservers b/include/tests_webservers index 5492a90f..08dfa7fa 100644 --- a/include/tests_webservers +++ b/include/tests_webservers @@ -99,7 +99,7 @@ Display --indent 6 --text "Info: Configuration file found (${APACHE_CONFIGFILE})" else # Probably the prefix is missing, so we are going to search that - APACHE_HTTPDROOT=`${HTTPDBINARY} -V | grep "\-D HTTPD_ROOT=" | sed 's/[ ]-D HTTPD_ROOT=//' | tr -d '"' | tr -d ' '` + APACHE_HTTPDROOT=`${HTTPDBINARY} -V 2> /dev/null | grep "\-D HTTPD_ROOT=" | sed 's/[ ]-D HTTPD_ROOT=//' | tr -d '"' | tr -d ' '` #echo "Apache root prefix: ${APACHE_HTTPDROOT}" #echo "Complete path to configuration file: ${APACHE_HTTPDROOT}/${APACHE_TEST}" APACHE_TESTFILE="${APACHE_HTTPDROOT}/${APACHE_TEST}" |