Merge pull request #295 from thaJeztah/18.09_backport_chroot_unsupported

[18.09 backport] Add realChroot for non linux/windows
This commit is contained in:
Andrew Hsu 2019-08-08 13:02:33 -07:00 committed by GitHub
commit 09431f90c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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