aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/peterh/liner/signal.go
blob: 0cba79e7f80c0f8c3c8e29642e879100604c5d76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// +build go1.1,!windows

package liner

import (
    "os"
    "os/signal"
)

func stopSignal(c chan<- os.Signal) {
    signal.Stop(c)
}