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:
commit
f5b64c3ffe
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…
Reference in a new issue