diff options
Diffstat (limited to 'internal/output.go')
| -rw-r--r-- | internal/output.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/output.go b/internal/output.go new file mode 100644 index 00000000..db37f55c --- /dev/null +++ b/internal/output.go @@ -0,0 +1,13 @@ +package internal + +import ( + "git.gensokyo.uk/security/fortify/internal/fmsg" + "git.gensokyo.uk/security/fortify/seccomp" +) + +func InstallFmsg(verbose bool) { + fmsg.Store(verbose) + if verbose { + seccomp.SetOutput(fmsg.Verbose) + } +} |
