Commit ee0fadf2 authored by peter's avatar peter
Browse files

shfmt

parent 9fb89d7f
...@@ -84,7 +84,7 @@ dns_curanet_rm() { ...@@ -84,7 +84,7 @@ dns_curanet_rm() {
recordid=$(echo "$response" | _egrep_o "{\"id\":[0-9]+,\"name\":\"$fulldomain\"" | _egrep_o "id\":[0-9]+" | cut -c 5-) recordid=$(echo "$response" | _egrep_o "{\"id\":[0-9]+,\"name\":\"$fulldomain\"" | _egrep_o "id\":[0-9]+" | cut -c 5-)
_debug "Deleting recordID $recordid" _debug "Deleting recordID $recordid"
response="$(_post "" "$CURANET_REST_URL/${_domain}/Records/$recordid" "" "DELETE")" response="$(_post "" "$CURANET_REST_URL/${_domain}/Records/$recordid" "" "DELETE")"
return 0; return 0
} }
#################### Private functions below ################################## #################### Private functions below ##################################
...@@ -127,4 +127,4 @@ _get_root() { ...@@ -127,4 +127,4 @@ _get_root() {
i=$(_math "$i" + 1) i=$(_math "$i" + 1)
done done
return 1 return 1
} }
\ No newline at end of file
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