From 18201f5f6af71fad14bbfc93eec1654b2f8fa585 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sat, 23 Jun 2018 20:39:13 +0300 Subject: custom version --- cmd/rr/cmd/serve.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd') 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() -- cgit v1.2.3