Add realChroot for non linux/windows

3029e765e2 broke compilation on
non-Linux/Windows systems.
This change fixes that.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 34d5b8867f)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Brian Goff 2019-07-03 14:36:48 -07:00 committed by Sebastiaan van Stijn
parent 6e9aba883c
commit 47a7f762d3
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

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