We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e0837b commit 35e7909Copy full SHA for 35e7909
apparmor/apparmor.go
@@ -63,10 +63,7 @@ func (profile *ProfileConfig) Generate(out io.Writer) error {
63
if abstractionsExists("base") {
64
profile.InnerImports = append(profile.InnerImports, "#include <abstractions/base>")
65
}
66
- if err := compiled.Execute(out, profile); err != nil {
67
- return err
68
- }
69
- return nil
+ return compiled.Execute(out, profile)
70
71
72
// check if the tunables/global exist
0 commit comments