From 082f231b60477f8e9a2139bd150f57fb359954f4 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 2 May 2024 10:57:24 +0200 Subject: [PATCH] fix --- cd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cd.sh b/cd.sh index 4ef96ea..8d3a52c 100644 --- a/cd.sh +++ b/cd.sh @@ -107,7 +107,7 @@ local server local servers local text="" cd_step "Set DNS resolving" - "${CD_DNS}" && servers="${CD_DNS}" || servers="${CD_DEFAULT_DNS}" + [ "${CD_DNS}" ] && servers="${CD_DNS}" || servers="${CD_DEFAULT_DNS}" for server in ${servers} ; do text="${text}nameserver ${server} "