Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-07 14:28:53 -06:00
parent 6bab83f92b
commit c44d49967a

View File

@@ -79,7 +79,6 @@ STATUS() {
echo -e " ${idsST[Bold]}${idsCL[LightCyan]}iDS-Node${nid} (${nip})${idsST[Reset]}${idsCL[LightCyan]} ${LH}${idsCL[Default]}"
DIVIDER false green
checkhost=$(CHECK_HOST ${nip})
#echo "checkhost: ${checkhost}"
if [ "${checkhost}" != "false" ]; then
for srvc in "${NODE_SERVICES[@]}"
do
@@ -96,7 +95,7 @@ STATUS() {
fi
done
else
echo -e "${idsCL[Red]}Node is Down! ${checkhost}${idsCL[Default]}"
echo -e "${idsCL[Red]}Node is Down!${idsCL[Default]}"
fi
echo
nid=`expr $nid + 1`