Commit bb276fc9 authored by neil's avatar neil
Browse files

minor.

parent 8d5618c4
......@@ -44,13 +44,13 @@ dns_cx_add() {
return 1
fi
if [ "$count" == "0" ] ; then
if [ "$count" = "0" ] ; then
add_record $_domain $_sub_domain $txtvalue
else
update_record $_domain $_sub_domain $txtvalue
fi
if [ "$?" == "0" ] ; then
if [ "$?" = "0" ] ; then
return 0
fi
return 1
......
......@@ -44,7 +44,7 @@ dns_dp_add() {
return 1
fi
if [ "$count" == "0" ] ; then
if [ "$count" = "0" ] ; then
add_record $_domain $_sub_domain $txtvalue
else
update_record $_domain $_sub_domain $txtvalue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment