Skip to content

Commit

Permalink
Merge branch 'kubearmor:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
seswarrajan authored Apr 7, 2022
2 parents 7316cf1 + e0ba982 commit 6eb39d8
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion KubeArmor/enforcer/appArmorEnforcer.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ func NewAppArmorEnforcer(node tp.Node, logger *fd.Feeder) *AppArmorEnforcer {
}

for _, file := range files {
if file.IsDir() {
if !file.Mode().IsRegular() {
ae.Logger.Printf("skipping /etc/apparmor.d/%s since not a regular file", file.Name())
continue
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6eb39d8

Please sign in to comment.