improve output

This commit is contained in:
An | Anton Röhm 2023-02-24 00:01:39 +01:00 committed by GitHub
parent c0639c6608
commit d3fefd223d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ dns_nanelo_add() {
if _contains "${response}" 'success'; then if _contains "${response}" 'success'; then
return 0 return 0
fi fi
_err "Could not create resource record, check logs" _err "Could not create resource record, please check the logs"
_err "${response}" _err "${response}"
return 1 return 1
} }
@ -53,7 +53,7 @@ dns_nanelo_rm() {
if _contains "${response}" 'success'; then if _contains "${response}" 'success'; then
return 0 return 0
fi fi
_err "Could not delete resource record, check logs" _err "Could not delete resource record, please check the logs"
_err "${response}" _err "${response}"
return 1 return 1
} }