From 168fc3d0b640204f8e72974b9c3826807d887fa6 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 31 Dec 2022 18:26:23 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 14247224..edfeabd5 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -271,6 +271,7 @@ STATUS(){ if [ "${ST_ACTION}" != "check" ]; then echo -e "${idsCL[Green]}Running - Fixed${idsCL[Default]}" fi + if [ "${STATUS_CHECK_EMAIL}" != "" ]; then echo -e "${NM_DOCKERS[${docker}]} is fixed\t$(date)" | mail -s "${NM_NODETYPES[$NTYPE]}-Node${nid}-${nip}" ${STATUS_CHECK_EMAIL}; fi rm -f ${FOLDER}/${nip}-${docker}.down rm -f ${FOLDER}/${nip}-${docker}.errtime else