Skip to content
Snippets Groups Projects
Verified Commit 92c26983 authored by Tilman Vatteroth's avatar Tilman Vatteroth :robot:
Browse files

add break

parent d593309d
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,12 @@
cd /usr/src/app
if [ -z "${TO_MAIL}" ]
then
echo "TO_MAIL not set."
exit 1
fi
function preview {
(>&2 echo "run twitter")
......@@ -20,8 +26,8 @@ function preview {
}
#if [ ! -z "$OUTPUT" ]
#then
if [ ! -z "$OUTPUT" ]
then
(cat << EOF
Subject: Programm-Info-Bot
Content-Type: text/plain; charset=UTF-8
......@@ -30,4 +36,4 @@ $(preview)"
EOF
) | msmtp ${MSMTP_ARGUMENTS} ${TO_MAIL}
#fi
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment