# [PATCH] instaweb: Nicer error message when the http daemon isn't found

2 messages from 2007-01-06 to 2007-01-07. Participants: Fredrik Kuivinen, Eric Wong.
Thread: https://gitlist.dev/t/6251

## Fredrik Kuivinen, 2007-01-06 10:40

Subject: [PATCH] instaweb: Nicer error message when the http daemon isn't found
Message-ID: <20070106104006.9359.33443.stgit@c165>
URL: https://gitlist.dev/e/20070106104006.9359.33443.stgit%40c165

```



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."

```

## Eric Wong, 2007-01-07 02:09

Subject: Re: [PATCH] instaweb: Nicer error message when the http daemon isn't found
Message-ID: <20070107020957.GB18322@localdomain>
URL: https://gitlist.dev/e/20070107020957.GB18322%40localdomain
In-Reply-To: <20070106104006.9359.33443.stgit@c165>

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

Signed-off-by: Eric Wong <normalperson@yhbt.net>

-- 
Eric Wong

>  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."
> -

```
