Procházet zdrojové kódy

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

Solomon Hykes před 12 roky
rodič
revize
fc19a00103
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      container.go

+ 1 - 1
container.go

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