From ee8a87223cbbbf01efc5fa33aa67440610e94514 Mon Sep 17 00:00:00 2001 From: Paul Czarkowski Date: Thu, 31 Dec 2015 16:40:55 -0600 Subject: [PATCH] really fix the IP expansion bug --- generate-certs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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