Fixed a bug which caused Container.Start() to fail when the rootfs was already mounted.
This commit is contained in:
parent
a15b990273
commit
6a03ad5a8a
|
@ -170,7 +170,7 @@ func (container *Container) generateLXCConfig() error {
|
|||
}
|
||||
|
||||
func (container *Container) Start() error {
|
||||
if err := container.Filesystem.Mount(); err != nil {
|
||||
if err := container.Filesystem.EnsureMounted(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue