summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Fredrik Kuivinen <frekui@gmail.com>2007-01-06 11:40:06 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2007-01-06 10:44:59 -0800
commitf281e3a1c5948b7dbe2fb47731376506ba3c8c38 (patch)
tree5b993f96590da5090d2af3351afad0588c75ddf9
parentgit.el: Don't use --info-only when resolving a file. (diff)
downloadtgif-f281e3a1c5948b7dbe2fb47731376506ba3c8c38.tar.xz
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>
-rwxr-xr-xgit-instaweb.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-instaweb.sh b/git-instaweb.sh
index 08362f43c0..80adc8307b 100755
--- a/git-instaweb.sh
+++ b/git-instaweb.sh
@@ -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."