Make sure container is not marked as ghost when it starts

Upstream-commit: 91520838fc72f4004d65844b8e57df85473808a1
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-07-09 10:48:33 -07:00
parent 44da1d38e6
commit 3cfd5fdb16
+1
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()