This commit is contained in:
Patrick Schleizer 2019-12-20 11:07:44 -05:00
parent 1e11b775cf
commit 1615ebec58
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -18,7 +18,13 @@ echo_wrapper_ignore() {
echo_wrapper_audit() {
echo "run: $@"
"$@" || echo "ERROR: above command failed!" >&2
return_code=0
"$@" || \
{ \
return_code="$?" ; \
exit_code=203 ; \
echo "ERROR: above command failed with exit code '$return_code'!" >&2 ; \
};
}
add_nosuid_statoverride_entry() {