about summary refs log tree commit diff stats
path: root/cmd/server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/server/main.go')
-rw-r--r--cmd/server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go
index ddf3426..652ffa3 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -54,6 +54,6 @@ func main() {
 
 	<-ctx.Done()
 	log.Debug("calling stop")
-	sv.Stop()
+	<-sv.Stop()
 	log.Debug("done")
 }