diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a43a0a6b..735463d2 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -611,7 +611,7 @@ DOWNLIST(){ fi echo - if [ "${DOWNLIST}" == "" ]; then + if [ "${DOWNLIST}" == "" ] && [ "${1}" != "report" ]; then 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 +638,7 @@ DOWNLIST(){ done fi - else + elif [ "${DOWNLIST}" != "" ]; then [ "${1}" == "report" ] && dlen=100 || dlen=110 echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}" DIVIDER false yellow ${dlen}