mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge Drop now-obsolete comment about skip_profile()
... which became superfluous after dropping use of xargs as fallback
when loading profiles in 0b8ea047e8
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/833
Acked-by: Approved-by: Jon Tourville <jon.tourville@canonical.com>
Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
9aa1a5b492
1 changed files with 0 additions and 4 deletions
|
@ -162,10 +162,6 @@ __parse_profiles_dir() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Note: the parser automatically skips files that match skip_profile()
|
|
||||||
# when we pass it a directory, but not when we pass it an individual
|
|
||||||
# profile. So we need to use skip_profile only in the latter case,
|
|
||||||
# as long as the parser is in sync' with skip_profile().
|
|
||||||
"$PARSER" $PARSER_OPTS "$parser_cmd" -- "$profile_dir"
|
"$PARSER" $PARSER_OPTS "$parser_cmd" -- "$profile_dir"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
status=1
|
status=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue