summaryrefslogtreecommitdiff
path: root/cmd/dolmetschctl
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dolmetschctl')
-rw-r--r--cmd/dolmetschctl/dolmetschctl.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/cmd/dolmetschctl/dolmetschctl.go b/cmd/dolmetschctl/dolmetschctl.go
index 0c03285..6055896 100644
--- a/cmd/dolmetschctl/dolmetschctl.go
+++ b/cmd/dolmetschctl/dolmetschctl.go
@@ -25,6 +25,7 @@ package main
import (
"log"
"os"
+ "time"
"spreadspace.org/dolmetschctl/pkg/controller"
)
@@ -46,10 +47,8 @@ func main() {
log.Printf("controller successfully initialized!")
- if err = c.LedToggle(1); err != nil {
- log.Printf("%v", err)
- os.Exit(1)
+ for {
+ time.Sleep(1 * time.Second)
}
-
log.Printf("exiting.")
}