This commit is contained in:
Patrick Schleizer 2019-12-21 05:54:07 -05:00
parent e3355843c8
commit 4f12664362
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -29,7 +29,7 @@ echo_wrapper_audit() {
{ \
return_code="$?" ; \
exit_code=203 ; \
echo "ERROR: above command failed with exit code '$return_code'!" >&2 ; \
echo "ERROR: above command failed with exit code '$return_code'! calling function name: '${FUNCNAME[1]}'" >&2 ; \
};
}
@ -41,7 +41,7 @@ echo_wrapper_silent_audit() {
{ \
return_code="$?" ; \
exit_code=204 ; \
echo "ERROR: above command '$@' failed with exit code '$return_code'!" >&2 ; \
echo "ERROR: above command '$@' failed with exit code '$return_code'! calling function name: '${FUNCNAME[1]}'" >&2 ; \
};
}