summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.go b/main.go
index e0f3e55..e92f777 100644
--- a/main.go
+++ b/main.go
@@ -60,8 +60,7 @@ func main() {
log.Fatal(err)
}
}()
- }
- runForever := make(chan struct{})
- <-runForever
+ select {}
+ }
}