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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user