Skip to content

Commit

Permalink
instaweb: Nicer error message when the http daemon isn't found
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Kuivinen <frekui@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Fredrik Kuivinen authored and Junio C Hamano committed Jan 6, 2007
1 parent cdc0873 commit f281e3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git-instaweb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit f281e3a

Please sign in to comment.