a2e240f46f
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.
10 lines
99 B
Go
10 lines
99 B
Go
// +build windows
|
|
|
|
package agent
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
var forwardSignals = []os.Signal{os.Interrupt}
|