summaryrefslogtreecommitdiff
path: root/pipe_factory.go
diff options
context:
space:
mode:
Diffstat (limited to 'pipe_factory.go')
-rwxr-xr-xpipe_factory.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pipe_factory.go b/pipe_factory.go
index a85606d2..3e98bd4e 100755
--- a/pipe_factory.go
+++ b/pipe_factory.go
@@ -81,7 +81,7 @@ func (f *PipeFactory) SpawnWorkerWithContext(ctx context.Context, cmd *exec.Cmd)
err = multierr.Combine(
err,
w.Kill(),
- w.Wait(context.Background()),
+ w.Wait(),
)
c <- SpawnResult{
w: nil,
@@ -145,7 +145,7 @@ func (f *PipeFactory) SpawnWorker(cmd *exec.Cmd) (WorkerBase, error) {
err = multierr.Combine(
err,
w.Kill(),
- w.Wait(context.Background()),
+ w.Wait(),
)
return nil, errors.E(op, err)
}