Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user