summaryrefslogtreecommitdiff
path: root/pcr/apparmor/apparmor_unload.sh
diff options
context:
space:
mode:
authorfauno <fauno@endefensadelsl.org>2017-05-08 20:17:04 -0300
committerfauno <fauno@endefensadelsl.org>2017-05-08 20:17:04 -0300
commit1dc35dfeb620ba69a2bf98f851004a8a3910e6bf (patch)
tree704d62e38d22b78f2ce47d45f40d6010ac29c05c /pcr/apparmor/apparmor_unload.sh
parent76c5bdc462d20d7f3cab5b4a1cce4aef3fdfc262 (diff)
parent0a460333cde2921bb6075fd5e1c18dfa4c5e8ada (diff)
downloadabslibre-1dc35dfeb620ba69a2bf98f851004a8a3910e6bf.tar.gz
abslibre-1dc35dfeb620ba69a2bf98f851004a8a3910e6bf.tar.bz2
abslibre-1dc35dfeb620ba69a2bf98f851004a8a3910e6bf.zip
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/apparmor/apparmor_unload.sh')
-rw-r--r--pcr/apparmor/apparmor_unload.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/pcr/apparmor/apparmor_unload.sh b/pcr/apparmor/apparmor_unload.sh
index de13938ab..f2d987dc2 100644
--- a/pcr/apparmor/apparmor_unload.sh
+++ b/pcr/apparmor/apparmor_unload.sh
@@ -2,7 +2,4 @@
aa_profiles='/etc/apparmor.d/'
aa_log='/var/log/apparmor.init.log'
-PROFILES=`find "$aa_profiles" -maxdepth 1 -type f`
-for profile in $PROFILES; do
- apparmor_parser -R "$profile" 2>> "$aa_log"
-done
+find "$aa_profiles" -maxdepth 1 -type f -exec /usr/bin/apparmor_parser -R {} \; 2>> "$aa_log"