mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-28 03:19:26 -05:00
output
This commit is contained in:
parent
e3355843c8
commit
4f12664362
@ -29,7 +29,7 @@ echo_wrapper_audit() {
|
|||||||
{ \
|
{ \
|
||||||
return_code="$?" ; \
|
return_code="$?" ; \
|
||||||
exit_code=203 ; \
|
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="$?" ; \
|
return_code="$?" ; \
|
||||||
exit_code=204 ; \
|
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 ; \
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user