code: func (c *chroot) escape() error {
  	// change directory to outer root and close it
  	if err := syscall.Fchdir(int(c.root.Fd())); err != nil {
  		return errwrap.Wrapf("changing directory to outer root failed", err)
  	}
  
  	if err := c.root.Close(); err != nil {
  		return errwrap.Wrapf("closing outer root failed", err)
  	}
  
  	// chroot to current directory aka "." being the outer root
  	if err := syscall.Chroot("."); err != nil {
  		return errwrap.Wrapf("chroot to current directory failed", err)
  	}
  
  	// chdir into previous working directory
  	if err := os.Chdir(c.wd); err != nil {
  		return errwrap.Wrapf("chdir to working directory failed", err)
  	}
  
  	return nil
  }
docs: // Escape escapes the chroot environment changing back to the original working directory where newChroot was invoked.