helper/bwrap: remove fmsg import
All checks were successful
Test / Create distribution (push) Successful in 57s
Test / Run NixOS test (push) Successful in 8m13s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-02-14 18:05:00 +09:00
parent 1fd571d561
commit 88040504b2

View File

@@ -6,7 +6,6 @@ import (
"git.gensokyo.uk/security/fortify/helper/proc"
"git.gensokyo.uk/security/fortify/helper/seccomp"
"git.gensokyo.uk/security/fortify/internal/fmsg"
)
type SyscallPolicy struct {
@@ -56,7 +55,7 @@ func (c *Config) seccompArgs() FDBuilder {
for _, opt := range optCond {
if opt.v {
opts |= opt.o
if fmsg.Verbose() {
if seccomp.CPrintln != nil {
optd = append(optd, opt.d)
}
}