fix(build): tunable path.

This commit is contained in:
Alexandre Pujol 2023-11-19 23:21:50 +00:00
parent e84750453c
commit 7909bb1948
Failed to generate hash of commit

View file

@ -188,7 +188,7 @@ func SetFullSystemPolicy() error {
} }
// Set systemd profile name // Set systemd profile name
path := paths.New("apparmor.d/tunables/multiarch.d/apparmor.d") path := RootApparmord.Join("tunables/multiarch.d/apparmor.d")
content, err := path.ReadFile() content, err := path.ReadFile()
if err != nil { if err != nil {
return err return err