Merge from trunk rev 1749: Actually skip loading profiles that we report

we're skipping.

From: Arkadiusz Miskiewicz <arekm@maven.pl>
Acked-By: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
Steve Beattie 2011-08-04 16:22:10 -07:00
parent 2b959a80f8
commit e35765bed2

View file

@ -198,6 +198,7 @@ parse_profiles() {
aa_log_skipped_msg "$profile"
logger -t "AppArmor(init)" -p daemon.warn "Skipping profile $profile"
STATUS=2
continue
elif [ "$skip" -ne 0 ]; then
continue
fi