open-nomad/command/alloc_exec_unix.go

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

19 lines
380 B
Go
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//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)
}