fix comments
Signed-off-by: yaozhenxiu <946666800@qq.com>
This commit is contained in:
parent
4e3d7e0aba
commit
902b96cf25
@ -91,7 +91,7 @@ type Monitor struct {
|
|||||||
subscribers map[chan runc.Exit]*subscriber
|
subscribers map[chan runc.Exit]*subscriber
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start starts the command a registers the process with the reaper
|
// Start starts the command and registers the process with the reaper
|
||||||
func (m *Monitor) Start(c *exec.Cmd) (chan runc.Exit, error) {
|
func (m *Monitor) Start(c *exec.Cmd) (chan runc.Exit, error) {
|
||||||
ec := m.Subscribe()
|
ec := m.Subscribe()
|
||||||
if err := c.Start(); err != nil {
|
if err := c.Start(); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user