spare one more little cat

This commit is contained in:
Antoine Beaupr�� 2014-10-14 21:41:23 +00:00
parent fa5bfd574c
commit 2ac05cfb6f
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ echo -e "\n---------- END ----------"
# If there is an email specified, mail it
if [ ! "x$email" == "x" -a ! "$email" == "null" ] ; then
date=$(date +%x\ %X)
cat "$tmpfile" | mailx -s "AlternC Cron #$id - Report $date" -a "From: noreply@$FQDN" "$(urldecode $email)"
mailx -s "AlternC Cron #$id - Report $date" -a "From: noreply@$FQDN" "$(urldecode $email)" < "$tmpfile"
fi
rm -f "$tmpfile"