From 5c4058d5ac7e7944973ca8216c258fc50c194e22 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 25 Mar 2025 01:52:49 +0900 Subject: app: run in native sandbox Signed-off-by: Ophestra --- cmd/fpkg/proc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/fpkg/proc.go') 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 { -- cgit v1.3.1