aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper
diff options
context:
space:
mode:
Diffstat (limited to 'helper')
-rw-r--r--helper/container.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/helper/container.go b/helper/container.go
index 33ab1e3a..6872f55b 100644
--- a/helper/container.go
+++ b/helper/container.go
@@ -5,6 +5,7 @@ import (
"errors"
"io"
"os"
+ "os/exec"
"slices"
"sync"
@@ -61,7 +62,7 @@ func (h *helperContainer) Start() error {
h.Env = append(h.Env, FortifyStatus+"=1")
// stat is populated on fulfill
- h.Cancel = func() error { return h.stat.Close() }
+ h.Cancel = func(*exec.Cmd) error { return h.stat.Close() }
} else {
h.Env = append(h.Env, FortifyStatus+"=0")
}