Skip to content

Commit 35e7909

Browse files
committed
cleanup
Signed-off-by: Jess Frazelle <[email protected]>
1 parent 5e0837b commit 35e7909

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

apparmor/apparmor.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ func (profile *ProfileConfig) Generate(out io.Writer) error {
6363
if abstractionsExists("base") {
6464
profile.InnerImports = append(profile.InnerImports, "#include <abstractions/base>")
6565
}
66-
if err := compiled.Execute(out, profile); err != nil {
67-
return err
68-
}
69-
return nil
66+
return compiled.Execute(out, profile)
7067
}
7168

7269
// check if the tunables/global exist

0 commit comments

Comments
 (0)