mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-16 10:09:15 -04:00
output
This commit is contained in:
parent
1e11b775cf
commit
1615ebec58
1 changed files with 7 additions and 1 deletions
|
@ -18,7 +18,13 @@ echo_wrapper_ignore() {
|
||||||
|
|
||||||
echo_wrapper_audit() {
|
echo_wrapper_audit() {
|
||||||
echo "run: $@"
|
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() {
|
add_nosuid_statoverride_entry() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue