소스 검색

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)
+}