Skip to content
Browse files

Make launch-webserver correctly error out when lighttpd can't be found

  • Loading branch information...
1 parent 37b3ccb commit a08c5a7a95e520c7b7e78abcf536f72c14bd622d @radford radford committed Feb 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 launch-webserver
View
2 launch-webserver
@@ -1,6 +1,6 @@
#!/bin/sh
-test -x ./external/root/sbin/lighttpd || (echo "Install lighttpd with \"make -C external install-lighttpd\" " && exit 0)
+test -x ./external/root/sbin/lighttpd || { echo "Install lighttpd with \"make -C external install-lighttpd\" " && exit 0; }
echo "Connect to http://localhost:2000/ for the web REPL."
./external/root/sbin/lighttpd -D -f ./external/lighttpd.conf &

0 comments on commit a08c5a7

Please sign in to comment.
Something went wrong with that request. Please try again.