|
@@ -1080,10 +1080,10 @@ func (container *Container) waitForStart() error {
|
|
c.Close()
|
|
c.Close()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ container.State.SetRunning(command.Pid())
|
|
if err := container.ToDisk(); err != nil {
|
|
if err := container.ToDisk(); err != nil {
|
|
utils.Debugf("%s", err)
|
|
utils.Debugf("%s", err)
|
|
}
|
|
}
|
|
- container.State.SetRunning(command.Pid())
|
|
|
|
}
|
|
}
|
|
|
|
|
|
// We use a callback here instead of a goroutine and an chan for
|
|
// We use a callback here instead of a goroutine and an chan for
|