Skip to content
Snippets Groups Projects
Commit 2510fbab authored by Simon Rose's avatar Simon Rose
Browse files

Added an error if env file is missing

parent 03c57adb
No related branches found
No related tags found
No related merge requests found
...@@ -392,6 +392,8 @@ function loadEnv ...@@ -392,6 +392,8 @@ function loadEnv
if [ -f "$envfile" ]; then if [ -f "$envfile" ]; then
echo "Loading environment variables from $envfile" echo "Loading environment variables from $envfile"
source "$envfile" source "$envfile"
else
echo "Warning: environment file $envfile does not exist." >&2
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment