diff options
-rw-r--r-- | cmd/rr/cmd/serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rr/cmd/serve.go b/cmd/rr/cmd/serve.go index e472767c..cafbdd4f 100644 --- a/cmd/rr/cmd/serve.go +++ b/cmd/rr/cmd/serve.go @@ -44,8 +44,8 @@ func serveHandler(cmd *cobra.Command, args []string) error { wg := &sync.WaitGroup{} + wg.Add(1) go func() { - wg.Add(1) defer wg.Done() // get the signal <-c |