instaweb: Nicer error message when the http daemon isn't found

Signed-off-by: Fredrik Kuivinen <frekui@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Fredrik Kuivinen 2007-01-06 11:40:06 +01:00 committed by Junio C Hamano
parent cdc0873a78
commit f281e3a1c5

View File

@ -53,6 +53,9 @@ start_httpd () {
return
fi
done
echo "$httpd_only not found. Install $httpd_only or use" \
"--httpd to specify another http daemon."
exit 1
fi
if test $? != 0; then
echo "Could not execute http daemon $httpd."