Merge pull request #1173 from dotcloud/1172-ghost_restart-fix

Make sure container is not marked as ghost when it starts
Upstream-commit: 7d8ef90ccbbe5e945b8a13bfcbea7838c138f61b
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-07-09 10:49:17 -07:00
+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()