(container *libcontainer.Container)
| 97 | } |
| 98 | |
| 99 | func (s *notifySocket) waitForContainer(container *libcontainer.Container) error { |
| 100 | state, err := container.State() |
| 101 | if err != nil { |
| 102 | return err |
| 103 | } |
| 104 | return s.run(state.InitProcessPid) |
| 105 | } |
| 106 | |
| 107 | func (s *notifySocket) run(pid1 int) error { |
| 108 | if s.socket == nil { |