diff --git a/generate-certs b/generate-certs index f74cab9..03c61a8 100755 --- a/generate-certs +++ b/generate-certs @@ -61,7 +61,7 @@ EOM done if [[ -n ${SSL_IP} ]]; then - ip=$(${SSL_IP}) + ip=(${SSL_IP}) for i in "${!ip[@]}"; do echo IP.$((i+1)) = ${ip[$i]} >> ${SSL_CONFIG} done