v0.2.0 #3

Merged
kor-elf merged 22 commits from develop into main 2026-04-26 16:50:47 +05:00
Showing only changes of commit 8fb0306b1b - Show all commits
+2 -2
View File
@@ -1,7 +1,7 @@
package batch package batch
import ( import (
"fmt" "strings"
"git.kor-elf.net/kor-elf-shield/go-nftables-client/contract" "git.kor-elf.net/kor-elf-shield/go-nftables-client/contract"
"git.kor-elf.net/kor-elf-shield/go-nftables-client/internal/pkg" "git.kor-elf.net/kor-elf-shield/go-nftables-client/internal/pkg"
@@ -18,6 +18,6 @@ func NewCommand(file *pkg.File) contract.CommandRun {
} }
func (c *commandRun) Run(args ...string) error { func (c *commandRun) Run(args ...string) error {
_, err := c.file.Write([]byte(fmt.Sprintf("%s\n", args))) _, err := c.file.Write([]byte(strings.Join(args, " ")))
return err return err
} }