Skip to content

Commit

Permalink
Error on --whitelist if DEMYX_IP isn't set
Browse files Browse the repository at this point in the history
  • Loading branch information
demyxco committed Feb 21, 2024
1 parent 5119d1a commit d9738a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions function/config.sh
Expand Up @@ -1174,6 +1174,8 @@ demyx_config_whitelist() {
DEMYX_APP_STACK
"

[[ "$DEMYX_IP" = false ]] && demyx_error custom "Please update DEMYX_IP on the host"

DEMYX_CONFIG_COMPOSE=true

if [[ "$DEMYX_CONFIG_FLAG_WHITELIST" = --whitelist ]]; then
Expand Down

0 comments on commit d9738a8

Please sign in to comment.