diff --git a/scripts/select.sh b/scripts/select.sh index 0e966672..a20ed2f4 100755 --- a/scripts/select.sh +++ b/scripts/select.sh @@ -43,7 +43,7 @@ do continue fi cer=$(curl https://$ip 2>&1 | grep -Po "'\S*'" |head -1|cut -d \' -f 2) - if [ $cer != $domain ] + if [ "$cer" != $domain ] then continue fi