From 2a8fcecef6e1f0e8ffe96b13f9529b9dc4d4d92e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristhian=20Mart=C3=ADnez=20Ochoa?= Date: Tue, 13 Feb 2018 18:41:40 -0700 Subject: [PATCH] verify function improved htpasswd is not a warning anymore, test is passed with an info text displayed. --- lib/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/install b/lib/install index 8c8924a..62779ae 100644 --- a/lib/install +++ b/lib/install @@ -385,6 +385,7 @@ app_purge() { webinoly_verify() { local error="0" local warning="0" + local info="0" echo "${gre} Verifying integrity of the entire Webinoly system... ${end}" echo "${red}" @@ -452,8 +453,8 @@ webinoly_verify() { error="1" fi if [[ ! -a /etc/nginx/.htpasswd && $(conf_read nginx-optim) == "true" ]]; then - echo "[WARNING] File: /etc/nginx/.htpasswd not found!" - warning="1" + echo "[INFO] File: /etc/nginx/.htpasswd not found!" + info="1" fi if [[ ! -a /etc/nginx/conf.d/blockips.conf && $(conf_read nginx-optim) == "true" ]]; then echo "[WARNING] File: /etc/nginx/conf.d/blockips.conf not found!"