2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-05 00:35:13 +00:00

Reverting previous commit.

This commit is contained in:
John Johansen
2008-11-07 01:31:19 +00:00
parent 1b0dd32cca
commit 6b6c57887c
6 changed files with 70 additions and 484 deletions

View File

@@ -344,8 +344,7 @@ apparmor_start() {
configure_owlsm
# if there is anything in the profiles file don't load
cat "$SFS_MOUNTPOINT/profiles" | if ! read line ; then
if [ $(wc -l "$SFS_MOUNTPOINT/profiles" | awk '{print $1}') -eq 0 ] ; then
parse_profiles load
else
aa_log_skipped_msg "Loading AppArmor profiles - AppArmor already loaded with profiles."