2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

Updated usage of SubDomain::readprofile() (which changed in r620) in

yast apparmor profile agent and syntax checking function in subdomain.pm
This commit is contained in:
Dominic Reynolds
2007-07-29 02:17:17 +00:00
parent 9e35713fa6
commit 6f5bc70ae1
2 changed files with 3 additions and 2 deletions

View File

@@ -3682,7 +3682,7 @@ sub checkProfileSyntax ($) {
or fatal_error "Can't read AppArmor profiles in $profiledir.";
for my $file (grep { -f "$profiledir/$_" } readdir(SDDIR)) {
next if isSkippableFile($file);
my $err = readprofile("$profiledir/$file", \&printMessageErrorHandler);
my $err = readprofile("$profiledir/$file", \&printMessageErrorHandler, 1);
if (defined $err and $err ne "") {
push @$errors, $err;
}