fix: ci one more time
Some checks failed
build / build (push) Failing after 1m42s

This commit is contained in:
d3m0k1d
2026-02-19 11:14:45 +03:00
parent 7918b3efe6
commit 5782072f91
2 changed files with 4 additions and 3 deletions

View File

@@ -113,6 +113,7 @@ func (n *Nftables) Setup(config string) error {
}
}
`
// #nosec G204 - config is managed by adminstartor
cmd := exec.Command("tee", config)
stdin, err := cmd.StdinPipe()
if err != nil {
@@ -135,7 +136,7 @@ func (n *Nftables) Setup(config string) error {
if err = cmd.Wait(); err != nil {
return fmt.Errorf("failed to save config: %w", err)
}
// #nosec G204 - config is managed by adminstartor
cmd = exec.Command("nft", "-f", config)
output, err := cmd.CombinedOutput()
if err != nil {