From bcfbbe39348b1123fbfcd719cc2ac85c0527cfb7 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 22 Nov 2024 12:34:13 +0100 Subject: [PATCH] start: Ignore e-mail failure Fixes #67 --- scripts/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start.sh b/scripts/start.sh index 1b58dd8..ecbd5f5 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -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