1
0
mirror of https://github.com/Spearfoot/FreeNAS-scripts synced 2025-12-06 01:23:19 +00:00

Fix sendmail bug for compatibility with Corral

This commit is contained in:
Keith Nash
2017-03-21 13:25:19 -05:00
committed by GitHub
parent d6db929816
commit 34367abe83

View File

@@ -140,6 +140,7 @@ echo "</pre>" >> ${logfile}
if [ -z "${email}" ]; then
echo "No email address specified, information available in ${logfile}"
else
sendmail -t < ${logfile}
# sendmail -t < ${logfile}
sendmail ${email} < ${logfile}
rm ${logfile}
fi