From 9ac916a68dd627d7469eea87e2be889d23e4f260 Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Fri, 12 Jul 2024 22:01:59 +0200 Subject: [PATCH] Changed color --- nginx_proxy_manager_cli.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx_proxy_manager_cli.sh b/nginx_proxy_manager_cli.sh index ab8af09..3cf89b3 100755 --- a/nginx_proxy_manager_cli.sh +++ b/nginx_proxy_manager_cli.sh @@ -282,13 +282,13 @@ fi check_nginx_access() { if ping -c 2 -W 2 $NGINX_IP &> /dev/null; then if curl --output /dev/null --silent --head --fail "$BASE_URL"; then - echo " ✅ Nginx url: $BASE_URL" + echo -e "\n ✅ Nginx url: $BASE_URL" else - echo " ⛔ Nginx url ⛔ $BASE_URL is NOT accessible." + echo -e "\n ⛔ Nginx url ⛔ $BASE_URL is NOT accessible." exit 1 fi else - echo " ⛔ $NGINX_IP ⛔ is not responding. Houston, we have a problem." + echo -e "\n ⛔ $NGINX_IP ⛔ is not responding. Houston, we have a problem." exit 1 fi }