Skip to content

Commit

Permalink
start: Ignore e-mail failure
Browse files Browse the repository at this point in the history
Fixes #67
  • Loading branch information
jonaski authored and ralftar committed Nov 25, 2024
1 parent dd3b4dc commit bcfbbe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@ mail_body="${mail_body}
Vendanor CloudDump v${VERSION}"

if [ "${MAIL}" = "mutt" ]; then
echo "${mail_body}" | EMAIL="${MAILFROM} <${MAILFROM}>" ${MAIL} -s "[Started] CloudDump ${HOST}" "${MAILTO}" || exit 1
echo "${mail_body}" | EMAIL="${MAILFROM} <${MAILFROM}>" ${MAIL} -s "[Started] CloudDump ${HOST}" "${MAILTO}"
else
echo "${mail_body}" | ${MAIL} -r "${MAILFROM} <${MAILFROM}>" -s "[Started] CloudDump ${HOST}" "${MAILTO}" || exit 1
echo "${mail_body}" | ${MAIL} -r "${MAILFROM} <${MAILFROM}>" -s "[Started] CloudDump ${HOST}" "${MAILTO}"
fi


Expand Down

0 comments on commit bcfbbe3

Please sign in to comment.