about summary refs log tree commit diff stats
path: root/cmd
diff options
context:
space:
mode:
authorAlan Pearce2024-12-08 19:52:43 +0100
committerAlan Pearce2024-12-08 19:52:43 +0100
commit668c1b6a70782da5c25fe9529fe9fcc5ad47b880 (patch)
tree2a7ed2cbfde7d18482f102cbf009beeb51795a9b /cmd
parentc88f5f3a36b2f540ea54789c76b143167f52e3f4 (diff)
downloadwebsite-668c1b6a70782da5c25fe9529fe9fcc5ad47b880.tar.lz
website-668c1b6a70782da5c25fe9529fe9fcc5ad47b880.tar.zst
website-668c1b6a70782da5c25fe9529fe9fcc5ad47b880.zip
wait for graceful shutdown
Diffstat (limited to 'cmd')
-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")
 }