ledisdb/cmd/vendor/github.com/peterh/liner/signal.go

13 lines
128 B
Go
Raw Normal View History

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