diff options
Diffstat (limited to 'vendor/github.com/containers/buildah/chroot/pty_unsupported.go')
-rw-r--r-- | vendor/github.com/containers/buildah/chroot/pty_unsupported.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/github.com/containers/buildah/chroot/pty_unsupported.go b/vendor/github.com/containers/buildah/chroot/pty_unsupported.go new file mode 100644 index 000000000..55ea597e3 --- /dev/null +++ b/vendor/github.com/containers/buildah/chroot/pty_unsupported.go @@ -0,0 +1,13 @@ +//go:build !linux && !(freebsd && cgo) +// +build !linux +// +build !freebsd !cgo + +package chroot + +import ( + "errors" +) + +func getPtyDescriptors() (int, int, error) { + return -1, -1, errors.New("getPtyDescriptors not supported on this platform") +} |