aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam.danischewski@gmail.com <adam.danischewski@code.google.com>2015-12-26 12:57:59 -0500
committeradam.danischewski@gmail.com <adam.danischewski@code.google.com>2015-12-26 12:57:59 -0500
commitd43869d70282fd9c8499208ad28fb79bb99f3f7b (patch)
tree166c3ae523a8fd9463022ed9db820e5a97d3eec8
parentf35abd23e29ffc28b0b82e92ccd1c82d0ab37399 (diff)
Updated the starting of the php internal webserver to suppress messages in the config test.
-rwxr-xr-xconfig.bsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.bsh b/config.bsh
index f3419db..2b32fff 100755
--- a/config.bsh
+++ b/config.bsh
@@ -33,7 +33,7 @@ declare -r FAV_WEBBROWSER=firefox ### CHANGE THIS IF NECESSARY
declare -r DISCARD_DEV="/dev/random" ### CHANGE IF NECESSARY,/dev/null
echo "Starting php built-in web server ... "
-php -S localhost:${PHP_PORT} -t / $(pwd)/routing.php &
+php -S localhost:${PHP_PORT} -t / $(pwd)/routing.php &>"${DISCARD_DEV}" &
echo "Checking for ${FAV_WEBBROWSER} and loading a test url: "
echo " ${TESTURL} ..."
which "${FAV_WEBBROWSER}" &>"${DISCARD_DEV}" && "${FAV_WEBBROWSER}" "${TESTURL}" || echo "Point your favorite web browser at: ${TESTURL}"