From 727e53a70c6bd0e4c07e8246e79ab0ba10bfde33 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 27 Feb 2019 00:06:44 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 8f82eb87..c9585865 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1472,7 +1472,8 @@ SERVICE(){ fi nid=`expr $nid + 1` done - elif [[ "${WEBSERVICES_CHECK}" = *"${1}"* ]]; then + fi + if [[ "${WEBSERVICES_CHECK}" = *"${1}"* ]]; then for nip in "${WEB_HOSTS[@]}"; do if [[ $(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then nip='localhost '