[fix] Wording for Morty & Filtron error message

This commit is contained in:
Allen 2021-09-02 12:46:57 +02:00 committed by Markus Heiser
parent a5a0a4e106
commit 08ac175236
2 changed files with 4 additions and 4 deletions

View file

@ -207,7 +207,7 @@ install_all() {
wait_key wait_key
echo echo
if ! service_is_available "http://${FILTRON_LISTEN}" ; then if ! service_is_available "http://${FILTRON_LISTEN}" ; then
err_msg "Filtron does not listening on: http://${FILTRON_LISTEN}" err_msg "Filtron is not listening on: http://${FILTRON_LISTEN}"
fi fi
if apache_is_installed; then if apache_is_installed; then
info_msg "Apache is installed on this host." info_msg "Apache is installed on this host."
@ -375,7 +375,7 @@ EOF
fi fi
if ! service_is_available "http://${FILTRON_LISTEN}" ; then if ! service_is_available "http://${FILTRON_LISTEN}" ; then
err_msg "Filtron does not listening on: http://${FILTRON_LISTEN}" err_msg "Filtron is not listening on: http://${FILTRON_LISTEN}"
fi fi
if service_is_available "http://${FILTRON_TARGET}" ; then if service_is_available "http://${FILTRON_TARGET}" ; then

View file

@ -221,7 +221,7 @@ install_all() {
systemd_install_service "${SERVICE_NAME}" "${SERVICE_SYSTEMD_UNIT}" systemd_install_service "${SERVICE_NAME}" "${SERVICE_SYSTEMD_UNIT}"
wait_key wait_key
if ! service_is_available "http://${MORTY_LISTEN}" ; then if ! service_is_available "http://${MORTY_LISTEN}" ; then
err_msg "Morty does not listening on: http://${MORTY_LISTEN}" err_msg "Morty is not listening on: http://${MORTY_LISTEN}"
fi fi
if apache_is_installed; then if apache_is_installed; then
info_msg "Apache is installed on this host." info_msg "Apache is installed on this host."
@ -359,7 +359,7 @@ EOF
fi fi
if ! service_is_available "http://${MORTY_LISTEN}" ; then if ! service_is_available "http://${MORTY_LISTEN}" ; then
err_msg "Morty does not listening on: http://${MORTY_LISTEN}" err_msg "Morty is not listening on: http://${MORTY_LISTEN}"
echo -e "${_Green}stop with [${_BCyan}CTRL-C${_Green}] or .." echo -e "${_Green}stop with [${_BCyan}CTRL-C${_Green}] or .."
wait_key wait_key
fi fi