mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-10 07:06:43 +07:00
lower debugging
This commit is contained in:
parent
dc6e5d8508
commit
4f76867da6
@ -40,8 +40,7 @@ echo_wrapper_audit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo_wrapper_silent_audit() {
|
echo_wrapper_silent_audit() {
|
||||||
## TODO: remove echo
|
#echo "run (debugging): $@"
|
||||||
echo "run (debugging): $@"
|
|
||||||
return_code=0
|
return_code=0
|
||||||
"$@" || \
|
"$@" || \
|
||||||
{ \
|
{ \
|
||||||
@ -52,7 +51,7 @@ echo_wrapper_silent_audit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sanity_tests() {
|
sanity_tests() {
|
||||||
echo_wrapper_audit which \
|
echo_wrapper_silent_audit which \
|
||||||
capsh getcap setcap stat find dpkg-statoverride getent xargs grep
|
capsh getcap setcap stat find dpkg-statoverride getent xargs grep
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user