Git development
 help / color / mirror / Atom feed
From: Fredrik Kuivinen <frekui@gmail.com>
To: junkio@cox.net
Cc: git@vger.kernel.org
Subject: [PATCH] instaweb: Nicer error message when the http daemon isn't found
Date: Sat, 06 Jan 2007 11:40:06 +0100	[thread overview]
Message-ID: <20070106104006.9359.33443.stgit@c165> (raw)




Signed-off-by: Fredrik Kuivinen <frekui@gmail.com>

---

 git-instaweb.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/git-instaweb.sh b/git-instaweb.sh
index 08362f4..80adc83 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."

             reply	other threads:[~2007-01-06 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-06 10:40 Fredrik Kuivinen [this message]
2007-01-07  2:09 ` [PATCH] instaweb: Nicer error message when the http daemon isn't found Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070106104006.9359.33443.stgit@c165 \
    --to=frekui@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox