From e80a1dd4b740b3f50bb8787c36cf2a78023e5f35 Mon Sep 17 00:00:00 2001 From: EliterScripts Date: Thu, 13 Dec 2018 18:28:21 -0700 Subject: [PATCH] fix DEFAULT_PUBLIC_IP unbound variable error (#1488) This will fix this error while installing: setup/questions.sh: line 95: DEFAULT_PUBLIC_IP: unbound variable --- setup/questions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/questions.sh b/setup/questions.sh index 3ad7eead..d070a52f 100644 --- a/setup/questions.sh +++ b/setup/questions.sh @@ -92,7 +92,7 @@ if [ -z "${PUBLIC_IP:-}" ]; then # On the first run, if we got an answer from the Internet then don't # ask the user. - if [[ -z "$DEFAULT_PUBLIC_IP" && ! -z "$GUESSED_IP" ]]; then + if [[ -z "${DEFAULT_PUBLIC_IP:-}" && ! -z "$GUESSED_IP" ]]; then PUBLIC_IP=$GUESSED_IP # Otherwise on the first run at least provide a default.