fix: add missing else/return 1 to if block

Signed-off-by: Avi Miller <avi.miller@oracle.com>
This commit is contained in:
Avi Miller 2021-06-19 15:41:34 +10:00
parent 017a10189c
commit ed971df93a
No known key found for this signature in database
GPG Key ID: 66D6066620F03B05

View File

@ -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