diff --git a/container_linux.go b/container_linux.go index aa88aed0..4e04f793 100644 --- a/container_linux.go +++ b/container_linux.go @@ -346,9 +346,9 @@ func (c *linuxContainer) Restore(process *Process) error { if err := syscall.Mount(c.config.Rootfs, c.config.Rootfs, "bind", syscall.MS_BIND|syscall.MS_REC, ""); err != nil { return err } - */ - defer syscall.Unmount(c.config.Rootfs, syscall.MNT_DETACH) + defer syscall.Unmount(c.config.Rootfs, syscall.MNT_DETACH) + */ cmd := exec.Command(c.criuPath, args...) cmd.Stdin = process.Stdin cmd.Stdout = process.Stdout