ソースを参照

Merge pull request #295 from thaJeztah/18.09_backport_chroot_unsupported

[18.09 backport] Add realChroot for non linux/windows
Andrew Hsu 6 年 前
コミット
09431f90c8
1 ファイル変更4 行追加0 行削除
  1. 4 0
      pkg/chrootarchive/chroot_unix.go

+ 4 - 0
pkg/chrootarchive/chroot_unix.go

@@ -10,3 +10,7 @@ func chroot(path string) error {
 	}
 	return unix.Chdir("/")
 }
+
+func realChroot(path string) error {
+	return chroot(path)
+}