From d9738a85a5653fb1f441585391e97c7711856d67 Mon Sep 17 00:00:00 2001 From: Demyx Date: Tue, 20 Feb 2024 22:56:10 -0800 Subject: [PATCH] Error on `--whitelist` if DEMYX_IP isn't set --- function/config.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/function/config.sh b/function/config.sh index fb7e7d7..241a0a6 100644 --- a/function/config.sh +++ b/function/config.sh @@ -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