diff --git a/internal/pkg/exec.go b/internal/pkg/exec.go index 1ace599..e3b6b43 100644 --- a/internal/pkg/exec.go +++ b/internal/pkg/exec.go @@ -194,7 +194,7 @@ func (a *execArtifact) Cure(c *CureContext) (err error) { const ( // execWaitDelay is passed through to [container.Params]. - execWaitDelay = 15 * time.Second + execWaitDelay = time.Nanosecond ) // cure is like Cure but allows optional host net namespace. This is used for @@ -294,7 +294,6 @@ func (a *execArtifact) cure(c *CureContext, hostNet bool) (err error) { defer cancel() z := container.New(ctx, a.msg) - z.ForwardCancel = true z.WaitDelay = execWaitDelay z.SeccompPresets |= std.PresetStrict z.ParentPerm = 0700