diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-25 01:52:49 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-25 01:52:49 +0900 |
| commit | 5c4058d5ac7e7944973ca8216c258fc50c194e22 (patch) | |
| tree | c06597903233c75eca5a1edae8b06d93f0f81774 /cmd/fpkg/proc.go | |
| parent | e732dca7629edb503df0c65df5f37a99600d567d (diff) | |
app: run in native sandbox
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/fpkg/proc.go')
| -rw-r--r-- | cmd/fpkg/proc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/fpkg/proc.go b/cmd/fpkg/proc.go index ea106adf..311ae4f2 100644 --- a/cmd/fpkg/proc.go +++ b/cmd/fpkg/proc.go @@ -11,14 +11,14 @@ import ( func mustRunApp(ctx context.Context, config *fst.Config, beforeFail func()) { rs := new(fst.RunState) - a := app.MustNew(std) + a := app.MustNew(ctx, std) if sa, err := a.Seal(config); err != nil { fmsg.PrintBaseError(err, "cannot seal app:") rs.ExitCode = 1 } else { // this updates ExitCode - app.PrintRunStateErr(rs, sa.Run(ctx, rs)) + app.PrintRunStateErr(rs, sa.Run(rs)) } if rs.ExitCode != 0 { |
