From 22c1b12ebb1de2b5e9ca2c33a5e22ca85ed64813 Mon Sep 17 00:00:00 2001 From: Friedl Ulrich Date: Fri, 6 Feb 2015 22:56:46 +0100 Subject: [PATCH] Correct import --- rfm69d/rfm69d.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rfm69d/rfm69d.go b/rfm69d/rfm69d.go index a3b78a3..318bd95 100644 --- a/rfm69d/rfm69d.go +++ b/rfm69d/rfm69d.go @@ -3,6 +3,7 @@ package main import ( "log" "os" + "os/signal" "github.com/fulr/rfm69" "github.com/kidoman/embd" @@ -44,7 +45,7 @@ func main() { quit := rfm.Loop() sigint := make(chan os.Signal) - os.Notify(sigint, os.Interrupt) + signal.Notify(sigint, os.Interrupt) <-sigint