mirror of https://github.com/docker/cli.git
15 lines
263 B
Go
15 lines
263 B
Go
|
//go:build unix
|
||
|
// +build unix
|
||
|
|
||
|
package signals
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
|
||
|
"golang.org/x/sys/unix"
|
||
|
)
|
||
|
|
||
|
// TerminationSignals represents the list of signals we
|
||
|
// want to special-case handle, on this platform.
|
||
|
var TerminationSignals = []os.Signal{unix.SIGTERM, unix.SIGINT}
|