Update nodemgmt-scripts.sh

This commit is contained in:
2023-01-01 10:10:14 -06:00
parent 9907ad0f62
commit 7c3cefc32d

View File

@@ -2423,6 +2423,9 @@ if [ ${action-x} ]; then
DOWNLIST report >> ${FOLDER}/status-downlist.lastrun
STATUSLOG="$(cat ${FOLDER}/status-downlist.lastrun)"
[ "${EMAIL_NOTICE}" != "" ] && echo -e "Downlist Report\n${STATUSLOG}" | mail -s "Downlist Report" ${EMAIL_NOTICE}
echo 'found'
else
echo 'not found'
fi
else
DOWNLIST ${2}