elvish/pkg/eval/external_cmd_unix.go
Qi Xiao f7cb556d9b Require Go 1.18.
- Run "go fix" to remove legacy build tags

- Use staticcheck@master until it has a release that supports Go 1.18

- Turn off autocrlf for Windows tasks
2022-03-20 15:28:23 +00:00

10 lines
141 B
Go

//go:build !windows && !plan9 && !js
package eval
import "syscall"
func isSIGPIPE(s syscall.Signal) bool {
return s == syscall.SIGPIPE
}