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

13 lines
128 B
Go

// +build go1.1,!windows
package liner
import (
"os"
"os/signal"
)
func stopSignal(c chan<- os.Signal) {
signal.Stop(c)
}