Update nodemgmt-scripts.sh

This commit is contained in:
2022-07-24 15:35:45 -05:00
parent 68515af7c1
commit 9da37bb315

View File

@@ -144,7 +144,7 @@ STATUS(){
fi
if [ "${checkhost}" != "false" ]; then
if [ "${ST_ACTION}" != "check" ]; then
uptime=`${NCMD} uptime -p`
[ "${ST_ACTION}" != "report" ] && uptime=`${NCMD} uptime -p`
echo -e " ${idsST[Bold]}${idsCL[LightCyan]}${NM_NODETYPES[$NTYPE]}-Node${nid} (${nip})${idsST[Reset]}${idsCL[LightCyan]} - ${uptime} ${idsCL[LightYello]}${LH}${idsCL[Default]}"
DIVIDER false green
fi