aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/main.go b/main.go
index ac5532ed..1a7e853f 100644
--- a/main.go
+++ b/main.go
@@ -26,7 +26,6 @@ import (
"git.gensokyo.uk/security/fortify/internal/sandbox"
"git.gensokyo.uk/security/fortify/internal/state"
"git.gensokyo.uk/security/fortify/internal/sys"
- "git.gensokyo.uk/security/fortify/seccomp"
"git.gensokyo.uk/security/fortify/system"
)
@@ -71,10 +70,7 @@ func buildCommand(out io.Writer) command.Command {
flagJSON bool
)
c := command.New(out, log.Printf, "fortify", func([]string) error {
- fmsg.Store(flagVerbose)
- if flagVerbose {
- seccomp.CPrintln = log.Println
- }
+ internal.InstallFmsg(flagVerbose)
return nil
}).
Flag(&flagVerbose, "v", command.BoolFlag(false), "Print debug messages to the console").