From e17624864cb856fd7207876a60ec312ed8a84080 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 13 May 2021 13:57:40 -0600 Subject: [PATCH] fix(scripts): forget exit on error! --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 4d31fd4..2365949 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,12 +20,15 @@ else # check for missing environment variable values if [ -z "$SMARTHOST" ]; then printf "\nYou must specify the hostname or IP address of a smarthost where mail should be relayed.\n\n" + exit 1 fi if [ -z "$SMARTHOST_USERNAME" ]; then printf "\nYou must provide a username for smarthost authentication.\n\n" + exit 1 fi if [ -z "$SMARTHOST_PASSWORD" ]; then printf "\nYou must provide a password for smarthost authentication.\n\n" + exit 1 fi # set failsafes