fix(aa-log): too much cleaning in pci path.

see #505
This commit is contained in:
Alexandre Pujol 2024-10-02 20:48:36 +01:00
parent 7ba556b15c
commit 3f98e86e24
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 22 additions and 1 deletions

View file

@ -82,7 +82,7 @@ var (
`/sys/`, `@{sys}/`,
`@{PROC}@{sys}/`, `@{PROC}/sys/`,
`pci` + strings.Repeat(h, 4) + `:` + strings.Repeat(h, 2), `@{pci_bus}`,
`@{pci_bus}/[0-9a-f:*./]*`, `@{pci}/`,
`@{pci_bus}/[0-9a-f:*./]*/`, `@{pci}/`,
`1000`, `@{uid}`,
// Some system glob