mirror of
https://github.com/hardenedlinux/harbian-audit.git
synced 2025-07-31 01:24:58 +02:00
Fix a bug for apply method of 4.7
This commit is contained in:
parent
68f56e4f93
commit
6598eb4b43
@ -59,7 +59,9 @@ audit () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply_debian () {
|
apply_debian () {
|
||||||
|
set +e
|
||||||
check_aa_status
|
check_aa_status
|
||||||
|
set -e
|
||||||
if [ $FNRET = 0 ]; then
|
if [ $FNRET = 0 ]; then
|
||||||
ok "AppArmor was actived. So pass."
|
ok "AppArmor was actived. So pass."
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user