summaryrefslogtreecommitdiff
path: root/cmd/rr
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rr')
-rw-r--r--cmd/rr/cmd/serve.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/rr/cmd/serve.go b/cmd/rr/cmd/serve.go
index dc751611..664baf15 100644
--- a/cmd/rr/cmd/serve.go
+++ b/cmd/rr/cmd/serve.go
@@ -44,6 +44,7 @@ func serveHandler(cmd *cobra.Command, args []string) error {
Container.Serve()
stopSignal <- nil
}()
+
<-stopSignal
Container.Stop()