@@ -73,7 +73,7 @@ if [ "$rtype" != "CAA" ]; then
fi
-if [ $record = "@" ] && [ $rtype = "CNAME" ]; then
+if [ "$record" = "@" ] && [ "$rtype" = "CNAME" ]; then
check_result $E_INVALID "CNAME on root is not allowed"
@@ -58,7 +58,7 @@ check_hestia_demo_mode
# Action #
#----------------------------------------------------------#