From 3efbece4146f582fc4c1ca78591830cead497164 Mon Sep 17 00:00:00 2001 From: joglomedia Date: Thu, 3 Oct 2019 14:31:19 +0700 Subject: [PATCH] warning on missed .env file --- scripts/helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helper.sh b/scripts/helper.sh index 4a01e9f..e671782 100644 --- a/scripts/helper.sh +++ b/scripts/helper.sh @@ -18,7 +18,7 @@ if [ -f ".env" ]; then source <(grep -v '^#' .env | grep -v '^\[' | sed -E 's|^(.+)=(.*)$|: ${\1=\2}; export \1|g') else echo "Environment variables required, but the dotenv file doesn't exist. Copy .env.dist to .env first!" - exit 0 + exit 1 fi # Direct access? make as dryrun mode.