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:
parent
ada0e1fb08
commit
91520838fc
1 changed files with 1 additions and 0 deletions
1
state.go
1
state.go
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue