This commit is contained in:
Marc Beninca 2024-05-02 10:57:24 +02:00
parent 82e2249bbf
commit 082f231b60
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

2
cd.sh
View file

@ -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}
"