Update nodemgmt-scripts.sh

This commit is contained in:
2019-12-22 10:26:44 -06:00
parent 48efa225d1
commit 5f0a12f061

View File

@@ -1655,7 +1655,7 @@ if [ ${action-x} ]; then
checkcerts)
if [ "${2}" = "report" ]; then
rm -f ${FOLDER}/status-check.lastrun
CHECK-CERTS report > ${FOLDER}/status-check.lastrun
#CHECK-CERTS report > ${FOLDER}/status-check.lastrun
if [ "${3}" = "email" ] && [ "${STATUS_CHECK_EMAIL}" != "" ]; then
STATUSLOG="$(cat ${FOLDER}/status-check.lastrun)"
echo "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" david@schroedercity.com