Browse Source

Fix code style problems

pull/3256/head
jakelamotta 4 years ago
parent
commit
f90f8824bb
  1. 3
      dnsapi/dns_simply.sh

3
dnsapi/dns_simply.sh

@ -22,7 +22,6 @@ dns_simply_add() {
_simply_save_config _simply_save_config
_debug "First detect the root zone" _debug "First detect the root zone"
if ! _get_root "$fulldomain"; then if ! _get_root "$fulldomain"; then
_err "invalid domain" _err "invalid domain"
return 1 return 1
@ -68,7 +67,7 @@ dns_simply_rm() {
return 1 return 1
fi fi
records=$(echo "$response" | tr '{' "\n" | grep 'record_id\|type\|data\|\name' | sed 's/\"record_id/;\"record_id/' | tr "\n" ' '| tr -d ' ' | tr ';' ' ')
records=$(echo "$response" | tr '{' "\n" | grep 'record_id\|type\|data\|\name' | sed 's/\"record_id/;\"record_id/' | tr "\n" ' ' | tr -d ' ' | tr ';' ' ')
nr_of_deleted_records=0 nr_of_deleted_records=0
_info "Fetching txt record" _info "Fetching txt record"

Loading…
Cancel
Save