Merge pull request #39462 from cpuguy83/chroot_unsupported
Add realChroot for non linux/windows
This commit is contained in:
commit
8bf02823d8
1 changed files with 4 additions and 0 deletions
|
@ -10,3 +10,7 @@ func chroot(path string) error {
|
|||
}
|
||||
return unix.Chdir("/")
|
||||
}
|
||||
|
||||
func realChroot(path string) error {
|
||||
return chroot(path)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue