go-ethereum/vendor/github.com/peterh/liner/signal.go

13 lines
128 B
Go
Raw Normal View History

2015-03-06 03:39:31 -06:00
// +build go1.1,!windows
package liner
import (
"os"
"os/signal"
)
func stopSignal(c chan<- os.Signal) {
signal.Stop(c)
}