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