Skip to content

Commit

Permalink
Make .cache exclusion broader
Browse files Browse the repository at this point in the history
Expand the .cache exlusion to be anywhere in usr/ instead of
usr/lib64/.

Signed-off-by: Brad P. Crochet <[email protected]>
  • Loading branch information
bcrochet authored and acornett21 committed Jun 20, 2023
1 parent 7983a97 commit e0487c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/policy/container/has_modified_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ func prefixAndSuffixIsExcluded(ctx context.Context, s string) bool {
Prefix string
Suffix string
}{
{Prefix: "usr/lib64/", Suffix: ".cache"},
{Prefix: "usr/", Suffix: ".cache"},
}

for _, v := range excl {
Expand Down

0 comments on commit e0487c1

Please sign in to comment.