2
0
mirror of https://github.com/status-im/consul.git synced 2025-03-02 06:10:44 +00:00
R.B. Boyer 491826ddbc
cli: forward SIGTERM to child process of 'lock' and 'watch' subcommands ()
cli: forward SIGTERM to child process of 'lock' and 'watch' subcommands on unix

This also removes the signal handler for SIGKILL as it's impossible to receive these signals.
2018-10-02 15:57:21 -05:00

10 lines
99 B
Go

// +build windows
package agent
import (
"os"
)
var forwardSignals = []os.Signal{os.Interrupt}