open-nomad/command/alloc_exec_unix.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
310 B
Go
Raw Normal View History

//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
2019-04-28 21:35:17 +00:00
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package command
import (
"os"
"os/signal"
"golang.org/x/sys/unix"
)
func setupWindowNotification(ch chan<- os.Signal) {
signal.Notify(ch, unix.SIGWINCH)
}