tile38/vendor/github.com/peterh/liner/signal.go

13 lines
128 B
Go
Raw Normal View History

2016-03-05 02:08:16 +03:00
// +build go1.1,!windows
package liner
import (
"os"
"os/signal"
)
func stopSignal(c chan<- os.Signal) {
signal.Stop(c)
}