From 4b187d625359680829748c8f5a9e11866d3711ac Mon Sep 17 00:00:00 2001 From: Dirk Date: Wed, 18 Oct 2017 17:13:05 +0200 Subject: [PATCH] fix travis error in 8ceb1b5 --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 2ae67c1..141abed 100755 --- a/testssl.sh +++ b/testssl.sh @@ -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