cloud-control-panel/linux.go

22 lines
422 B
Go
Raw Normal View History

// +build linux,go1.7
package main
import "log"
import "os"
import "os/signal"
import "syscall"
// import "runtime"
// import "time"
// import "reflect"
// import "git.wit.com/wit/shell"
// import "github.com/davecgh/go-spew/spew"
func handleLinux(err interface{}, ret int) {
sigChan = make(chan os.Signal, 3)
log.Println("handleLinux() only should be compiled on linux")
signal.Notify(sigChan, syscall.SIGUSR1)
}