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:
Ophestra 2025-02-14 18:05:00 +09:00
parent 1fd571d561
commit 88040504b2
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q

View File

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