mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
output
This commit is contained in:
parent
1e11b775cf
commit
1615ebec58
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user