From 8ebfd90f3302d6281656a26e9b6b4dcea518fb22 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 10 Oct 2025 04:50:07 +0900 Subject: [PATCH] internal/app/spcontainer: use checked WaitDelay This is the value used by shim. Using the unchecked value causes ForwardCancel to be populated incorrectly for values snapping up to default. Signed-off-by: Ophestra --- internal/app/spcontainer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/spcontainer.go b/internal/app/spcontainer.go index b637831..9d8227e 100644 --- a/internal/app/spcontainer.go +++ b/internal/app/spcontainer.go @@ -65,7 +65,7 @@ func (s *spParamsOp) toContainer(state *outcomeStateParams) error { // the container is canceled when shim is requested to exit or receives an interrupt or termination signal; // this behaviour is implemented in the shim - state.params.ForwardCancel = state.Container.WaitDelay >= 0 + state.params.ForwardCancel = state.Shim.WaitDelay >= 0 if state.Container.Multiarch { state.params.SeccompFlags |= seccomp.AllowMultiarch