Browse Source

Accidentally pasted something into the code

pull/408/head
sjau 8 years ago
parent
commit
6b63e705e9
  1. 2
      dnsapi/dns_ispconfig.sh

2
dnsapi/dns_ispconfig.sh

@ -104,7 +104,7 @@ _ISPC_addTxt () {
curResult=$(curl -k --data "${curData}" "${ISPC_Api}?dns_txt_add")
record_id=$(echo $curResult | _egrep_o "\"response.*" | cut -d ':' -f 2)
record_id=${record_id:1:-2}
case ${record_id} in = false
case ${record_id} in
''|*[!0-9]*) _err "Record ID is not numeric. Aborting" ;;
*) _info "Successfully retrieved Record ID";
record_data="$record_data $record_id" ;; # Make space seperated string of record IDs for later removal.

Loading…
Cancel
Save