check-connectivity.sh: add checked http host to error message.

This commit is contained in:
Christoph 2020-05-23 14:09:22 +02:00
parent c5995d5137
commit 8a189c777a

View File

@ -536,11 +536,11 @@ for _host in $HTTPS_CHECK_HOSTS ; do
break break
;; ;;
5) echo_failed 5) echo_failed
error "The web proxy won't let us through" error "The web proxy won't let us through. Direction was '$_host'"
;; ;;
*) echo_failed *) echo_failed
error "Something is wrong with HTTP connections. Go check it." error "Something is wrong with HTTP connections to '$_host'. Go check it."
;; ;;
esac esac
else else