diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index b9e14bab..9170672f 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1962,8 +1962,8 @@ if [ ${action-x} ]; then rm -f ${FOLDER}/status-check.lastrun STATUS report > ${FOLDER}/status-check.lastrun if [ "${3}" = "email" ] && [ "${STATUS_CHECK_EMAIL}" != "" ]; then - echo "\r\r" - DOWNLIST report > ${FOLDER}/status-check.lastrun + echo "\r\r" >> ${FOLDER}/status-check.lastrun + DOWNLIST report >> ${FOLDER}/status-check.lastrun STATUSLOG="$(cat ${FOLDER}/status-check.lastrun)" echo "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" david@schroedercity.com echo "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" 9208839613@mms.att.net