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
4 years ago
No known key found for this signature in database
GPG Key ID: 66D6066620F03B05
1 changed files with
4 additions and
0 deletions
-
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 |
|
|
|