1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Make sure container is not marked as ghost when it starts

This commit is contained in:
Guillaume J. Charmes 2013-07-09 10:48:33 -07:00
parent ada0e1fb08
commit 91520838fc

View file

@ -29,6 +29,7 @@ func (s *State) String() string {
func (s *State) setRunning(pid int) {
s.Running = true
s.Ghost = false
s.ExitCode = 0
s.Pid = pid
s.StartedAt = time.Now()