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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user