Merge pull request #294 from thaJeztah/19.03_backport_chroot_unsupported

[19.03 backport] Add realChroot for non linux/windows
This commit is contained in:
Andrew Hsu 2019-08-08 13:02:45 -07:00 committed by GitHub
commit f5b64c3ffe
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("/")
}
func realChroot(path string) error {
return chroot(path)
}