diff options
author | Wolfy-J <[email protected]> | 2018-01-28 15:53:39 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-01-28 15:53:39 +0300 |
commit | a78f4a23ac2ee8be95b8dec6911e8d219b39dc34 (patch) | |
tree | 77f62f1df31da3622e0947925cbf3e368f1517a3 /pipe_factory.go | |
parent | 839069b8137878d2d229b8425ab06027539983a8 (diff) |
stop by worker
Diffstat (limited to 'pipe_factory.go')
-rw-r--r-- | pipe_factory.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pipe_factory.go b/pipe_factory.go index 36f7a7e3..93e4b5d1 100644 --- a/pipe_factory.go +++ b/pipe_factory.go @@ -40,7 +40,7 @@ func (f *PipeFactory) SpawnWorker(cmd *exec.Cmd) (w *Worker, err error) { w.rl = goridge.NewPipeRelay(in, out) - if err := w.Start(); err != nil { + if err := w.start(); err != nil { return nil, errors.Wrap(err, "process error") } |