mirror of
https://github.com/Spearfoot/FreeNAS-scripts
synced 2025-12-11 13:53:19 +00:00
Fix sendmail bug for compatibility with Corral
This commit is contained in:
@@ -140,6 +140,7 @@ echo "</pre>" >> ${logfile}
|
|||||||
if [ -z "${email}" ]; then
|
if [ -z "${email}" ]; then
|
||||||
echo "No email address specified, information available in ${logfile}"
|
echo "No email address specified, information available in ${logfile}"
|
||||||
else
|
else
|
||||||
sendmail -t < ${logfile}
|
# sendmail -t < ${logfile}
|
||||||
|
sendmail ${email} < ${logfile}
|
||||||
rm ${logfile}
|
rm ${logfile}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user