Browse Source

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>
maint
Fredrik Kuivinen 18 years ago committed by Junio C Hamano
parent
commit
f281e3a1c5
  1. 3
      git-instaweb.sh

3
git-instaweb.sh

@ -53,6 +53,9 @@ start_httpd () { @@ -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."

Loading…
Cancel
Save