diff options
Diffstat (limited to 'static_pool.go')
-rw-r--r-- | static_pool.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/static_pool.go b/static_pool.go index a04190dd..f4652bfc 100644 --- a/static_pool.go +++ b/static_pool.go @@ -58,7 +58,6 @@ func NewPool(cmd func() *exec.Cmd, factory Factory, cfg Config) (*StaticPool, er for i := uint64(0); i < p.cfg.NumWorkers; i++ { // to test if worker ready w, err := p.createWorker() - if err != nil { p.Destroy() return nil, err |