Skip to content

Commit

Permalink
really fix the IP expansion bug
Browse files Browse the repository at this point in the history
  • Loading branch information
paulczar committed Dec 31, 2015
1 parent 6984468 commit ee8a872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-certs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee8a872

Please sign in to comment.