diff --git a/NaturalSelection2/ns2server b/NaturalSelection2/ns2server index 93eb9a061..c11ccfaa5 100644 --- a/NaturalSelection2/ns2server +++ b/NaturalSelection2/ns2server @@ -359,7 +359,7 @@ if [ ! -z "${gamelogdir}" ]; then echo -e "\n\nServer log\n====================\n" >> "${emaillog}" tail "${gamelogdir}"/*|grep -v "==>"|sed '/^$/d'|tail -25 >> "${emaillog}" fi -mail -s "${subject}" ${email} < "${emaillog}" +cat -v "${emaillog}" | mail -s "${subject}" ${email} fn_printinfo "Sent email notification to ${email}" sleep 1 echo -en "\n"