Fix panic caused when ctrl+c a non started service

This commit is contained in:
Asim Aslam 2019-11-01 15:08:01 +00:00
parent 0aa01b2ebf
commit e9dfccc616

View File

@ -85,6 +85,7 @@ func newService(s *Service, c CreateOptions) *service {
Env: c.Env, Env: c.Env,
Args: args, Args: args,
}, },
closed: make(chan bool),
output: c.Output, output: c.Output,
} }
} }