Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-08 21:09:46 -06:00
parent ef9ec3a9bb
commit de24c3d79e

View File

@@ -726,7 +726,7 @@ DOWNLIST(){
host=${ditem%%~*}
item=${ditem#*~}
if [ "${1}" == "ignore" ]; then
[ ${is} -lt 10 ] && ignsel=" ${is})" || ignsel="${is}) "
[ ${is} -lt 10 ] && ignsel=" ${is}) " || ignsel="${is}) "
else
ignsel=""
fi
@@ -755,7 +755,7 @@ DOWNLIST(){
c=0; spc2=''
spc1=${cw2}-${#itemname}-${#host}-${spc1}
until [ $c = ${spc1} ]; do spc2="${spc2} "; c=`expr $c + 1`; done
echo -e "${idsCL[Red]}${ignsel}${idsST[Bold]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsST[Reset]}${idsCL[Default]}"
echo -e "${idsCL[LightRed]}${ignsel}${idsST[Bold]}${itemname}${spc}${host}${spc2}$(SHOW_TIME ${toterrtime})${idsST[Reset]}${idsCL[Default]}"
DIVIDER false darkGray 90
((is++))
done