Skip to content
Snippets Groups Projects
Commit 885c3fb4 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Fix check_env function

parent 95de0867
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ log_error() {
# Checks a given environment variable is set (non-zero size)
check_env() {
if [ -z "${!${1}}" ]; then
if [ -z "${!1}" ]; then
log_error "Variable ${1} is undefined - aborting...";
exit 1
else
......
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