From 64a5dea47e8fd37b2d9085a90dfe71b6aba001da Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Fri, 15 Dec 2023 23:22:01 +0000 Subject: [PATCH] build: cleanup build output. --- cmd/prebuild/main.go | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/cmd/prebuild/main.go b/cmd/prebuild/main.go index a3c51514..df2d36f7 100644 --- a/cmd/prebuild/main.go +++ b/cmd/prebuild/main.go @@ -60,19 +60,7 @@ func aaPrebuild() error { if err := prebuild.Prepare(); err != nil { return err } - - if err := prebuild.Build(); err != nil { - return err - } - - logging.Success("Builded profiles with: ") - logging.Bullet("Bypass userspace tools restriction") - if complain { - logging.Bullet("Set complain flag on all profiles") - } else if enforce { - logging.Bullet("All profiles have been enforced") - } - return nil + return prebuild.Build() } func main() {