aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/fpkg/proc.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-25 01:52:49 +0900
committerOphestra <cat@gensokyo.uk>2025-03-25 01:52:49 +0900
commit5c4058d5ac7e7944973ca8216c258fc50c194e22 (patch)
treec06597903233c75eca5a1edae8b06d93f0f81774 /cmd/fpkg/proc.go
parente732dca7629edb503df0c65df5f37a99600d567d (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.go4
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 {