fix travis error in 8ceb1b5

This commit is contained in:
Dirk 2017-10-18 17:13:05 +02:00
parent 8ceb1b5ad8
commit 4b187d6253

View File

@ -6571,9 +6571,9 @@ certificate_info() {
caa_node="$NODE"
caa=""
while ( [[ -z "$caa" ]] && [[ "$caa_node" != "." ]] ); do
while ( [[ -z "$caa" ]] && [[ ! -z "$caa_node" ]] ); do
caa="$(get_caa_rr_record $caa_node)"
caa_node+="."
[[ $caa_node =~ '.'$ ]] || caa_node+="."
caa_node=${caa_node#*.}
done