helper/bwrap: PositionalArg implement fmt.Stringer
All checks were successful
Test / Create distribution (push) Successful in 49s
Test / Run NixOS test (push) Successful in 3m28s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-02-14 23:58:52 +09:00
parent ace97952cc
commit be7d944b39
4 changed files with 28 additions and 44 deletions

View File

@@ -30,7 +30,7 @@ func (c *Config) Args(syncFd *os.File, extraFiles *proc.ExtraFilesPre, files *[]
c.stringArgs(),
c.pairArgs(),
c.seccompArgs(),
newFile(positionalArgs[SyncFd], syncFd),
newFile(SyncFd.String(), syncFd),
}
builders = slices.Grow(builders, len(c.Filesystem)+1)