diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-14 23:23:57 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-14 23:23:57 +0900 |
| commit | 9e18d1de77b2c9bb24a51c2e99b060c6d06818ee (patch) | |
| tree | 7141db9055c96a4ae1767304336180c20ca61c0c /helper/bwrap.go | |
| parent | 2647a71be1f287e50011a65653b9e9c806627899 (diff) | |
helper/proc: pass extra files and start
For integration with native container tooling.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper/bwrap.go')
| -rw-r--r-- | helper/bwrap.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/bwrap.go b/helper/bwrap.go index 86aff4db..a1f6e421 100644 --- a/helper/bwrap.go +++ b/helper/bwrap.go @@ -45,7 +45,7 @@ func (b *bubblewrap) Start(stat bool) error { b.Cmd.Args = slices.Grow(b.Cmd.Args, 4+len(args)) b.Cmd.Args = append(b.Cmd.Args, "--args", strconv.Itoa(int(b.argsFd)), "--", b.name) b.Cmd.Args = append(b.Cmd.Args, args...) - return proc.Fulfill(b.ctx, b.Cmd, b.files, b.extraFiles) + return proc.Fulfill(b.ctx, &b.ExtraFiles, b.Cmd.Start, b.files, b.extraFiles) } // MustNewBwrap initialises a new Bwrap instance with wt as the null-terminated argument writer. |
