diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/peterh/liner/signal.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/peterh/liner/signal.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/github.com/peterh/liner/signal.go b/Godeps/_workspace/src/github.com/peterh/liner/signal.go new file mode 100644 index 000000000..0cba79e7f --- /dev/null +++ b/Godeps/_workspace/src/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) +} |