Fix build on Plan 9

parent 6d43ee1d
package cli
import "syscall"
func isErrnoNotSupported(err error) bool {
switch err {
case
// Operation not supported
syscall.EINVAL, syscall.EPLAN9,
// Sync on os.Stdin or os.Stderr returns "permission denied".
syscall.EPERM:
return true
}
return false
}
//+build !windows
//+build !windows,!plan9
package cli
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment