diff options
Diffstat (limited to 'vendor/github.com/peterh/liner/signal.go')
-rw-r--r-- | vendor/github.com/peterh/liner/signal.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/peterh/liner/signal.go b/vendor/github.com/peterh/liner/signal.go new file mode 100644 index 000000000..0cba79e7f --- /dev/null +++ b/vendor/github.com/peterh/liner/signal.go @@ -0,0 +1,12 @@ +// +build go1.1,!windows + +package liner + +import ( + "os" + "os/signal" +) + +func stopSignal(c chan<- os.Signal) { + signal.Stop(c) +} |