Commit 18adae3a authored by Dan Reading's avatar Dan Reading
Browse files

remove blank line output if running outside of a cron job.

parent 9459fb4b
......@@ -503,7 +503,7 @@ genreport_main() {
echo "From: CheckNode" >> /tmp/Report_CheckNode
echo "To: ${CHECKNODE_MAILTO}" >> /tmp/Report_CheckNode
echo "" > /tmp/Report_CheckNode
cat /dev/null > /tmp/Report_CheckNode
rm -f /tmp/genreport /tmp/driftreport
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment