Skip to content

Commit

Permalink
env: Throw an error for missing CONFIG
Browse files Browse the repository at this point in the history
For offline mode
  • Loading branch information
rdlrt committed Jan 14, 2021
1 parent 5eda36e commit def7f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cnode-helper-scripts/env
Expand Up @@ -131,7 +131,7 @@ if [[ -z "${CONFIG}" ]]; then
CONFIG=${BASH_REMATCH[1]}
elif [[ -f "${CNODE_HOME}/files/config.json" ]]; then
CONFIG="${CNODE_HOME}/files/config.json"
elif [[ ${OFFLINE_MODE} = "N" ]]; then
else
echo "Node config not set in env file and automatic detection failed!"
return 1
fi
Expand Down

0 comments on commit def7f08

Please sign in to comment.