mirror of
https://github.com/acmesh-official/acme.sh
synced 2025-08-31 22:35:22 +00:00
minor.
This commit is contained in:
@@ -44,13 +44,13 @@ dns_cx_add() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$count" == "0" ] ; then
|
if [ "$count" = "0" ] ; then
|
||||||
add_record $_domain $_sub_domain $txtvalue
|
add_record $_domain $_sub_domain $txtvalue
|
||||||
else
|
else
|
||||||
update_record $_domain $_sub_domain $txtvalue
|
update_record $_domain $_sub_domain $txtvalue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$?" == "0" ] ; then
|
if [ "$?" = "0" ] ; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
return 1
|
return 1
|
||||||
|
@@ -44,7 +44,7 @@ dns_dp_add() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$count" == "0" ] ; then
|
if [ "$count" = "0" ] ; then
|
||||||
add_record $_domain $_sub_domain $txtvalue
|
add_record $_domain $_sub_domain $txtvalue
|
||||||
else
|
else
|
||||||
update_record $_domain $_sub_domain $txtvalue
|
update_record $_domain $_sub_domain $txtvalue
|
||||||
|
Reference in New Issue
Block a user