summaryrefslogtreecommitdiff
path: root/pipe_factory.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-28 15:53:39 +0300
committerWolfy-J <[email protected]>2018-01-28 15:53:39 +0300
commita78f4a23ac2ee8be95b8dec6911e8d219b39dc34 (patch)
tree77f62f1df31da3622e0947925cbf3e368f1517a3 /pipe_factory.go
parent839069b8137878d2d229b8425ab06027539983a8 (diff)
stop by worker
Diffstat (limited to 'pipe_factory.go')
-rw-r--r--pipe_factory.go2
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")
}