Update nodemgmt-scripts.sh

This commit is contained in:
2023-12-12 08:17:00 -06:00
parent 6f46f1e00a
commit ae674d212c

View File

@@ -611,7 +611,8 @@ DOWNLIST(){
fi
echo
if [ "${DOWNLIST}" == "" ] && [ "${1}" != "report" ]; then
if [ "${DOWNLIST}" == "" ]; then
[ "${1}" == "report" ] && exit 0
echo -e "${idsCL[LightCyan]}Nothing is down. Hooray for you!!${idsCL[Default]}"
echo -en "\nWanna see something great for being so awesome? (y/N) "
@@ -638,7 +639,7 @@ DOWNLIST(){
done
fi
elif [ "${DOWNLIST}" != "" ]; then
else
[ "${1}" == "report" ] && dlen=100 || dlen=110
echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}"
DIVIDER false yellow ${dlen}