Browse code

Make sure container is not marked as ghost when it starts

Guillaume J. Charmes authored on 2013/07/10 02:48:33
Showing 1 changed files
... ...
@@ -29,6 +29,7 @@ func (s *State) String() string {
29 29
 
30 30
 func (s *State) setRunning(pid int) {
31 31
 	s.Running = true
32
+	s.Ghost = false
32 33
 	s.ExitCode = 0
33 34
 	s.Pid = pid
34 35
 	s.StartedAt = time.Now()