Re: [PATCH] instaweb: Nicer error message when the http daemon isn't found
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."
> -