build: cleanup build output.

This commit is contained in:
Alexandre Pujol 2023-12-15 23:22:01 +00:00
parent 79ad345034
commit 64a5dea47e
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -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() {