1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fixed a bug which caused Container.Start() to fail when the rootfs was already mounted.

This commit is contained in:
Solomon Hykes 2013-01-27 01:06:02 -08:00
parent e920cb9cd9
commit fc19a00103

View file

@ -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
}