Browse Source

fix: add missing else/return 1 to if block

Signed-off-by: Avi Miller <avi.miller@oracle.com>
pull/3539/head
Avi Miller 3 years ago
parent
commit
ed971df93a
No known key found for this signature in database GPG Key ID: 66D6066620F03B05
  1. 4
      dnsapi/dns_oci.sh

4
dnsapi/dns_oci.sh

@ -30,6 +30,8 @@ dns_oci_add() {
_err "Error: failed to add TXT record for ${_sub_domain}.${_domain}."
return 1
fi
else
return 1
fi
else
@ -53,6 +55,8 @@ dns_oci_rm() {
_err "Error: failed to remove TXT record for ${_sub_domain}.${_domain}."
return 1
fi
else
return 1
fi
else

Loading…
Cancel
Save