From 256ce9a6b6a7c3fcdaecfcde904d3e8a657df33e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 27 Apr 2023 10:26:30 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index bad07a93..a5278fba 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -153,7 +153,7 @@ STATUS(){ if [ "${checkhost}" != "false" ]; then if [ "${ST_ACTION}" != "check" ]; then #echo -en " ${idsST[Bold]}${idsCL[LightCyan]}${NM_NODETYPES[$NTYPE]}-Node${nid} (${nip})${idsST[Reset]}" - if ([ "${ST_ACTION}" == "report" ] && [ "${2}" == "email" ]) || [ "${ST_ACTION}" != "report" ]; then + if ([ "${ST_ACTION}" == "report" ] && [ "${2}" == "email" ]) || [ "${ST_ACTION}" == "tst" ]; then uptime=`${NCMD} uptime -p` echo -e "${idsCL[LightCyan]} - ${uptime} ${idsCL[LightYello]}${LH}${idsCL[Default]}" else