Skip to content

Commit a671825

Browse files
committed
Add missing quotes
1 parent d79341b commit a671825

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/v-add-dns-record

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ if [ "$rtype" != "CAA" ]; then
7373
fi
7474
fi
7575

76-
if [ $record = "@" ] && [ $rtype = "CNAME" ]; then
76+
if [ "$record" = "@" ] && [ "$rtype" = "CNAME" ]; then
7777
check_result $E_INVALID "CNAME on root is not allowed"
7878
fi
7979

bin/v-change-dns-record

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ check_hestia_demo_mode
5858
# Action #
5959
#----------------------------------------------------------#
6060

61-
if [ $record = "@" ] && [ $rtype = "CNAME" ]; then
61+
if [ "$record" = "@" ] && [ "$rtype" = "CNAME" ]; then
6262
check_result $E_INVALID "CNAME on root is not allowed"
6363
fi
6464

0 commit comments

Comments
 (0)