diff --git a/tools/tracereplay/main/main.go b/tools/tracereplay/main/main.go index 979aeefc6..9ce18a2b6 100644 --- a/tools/tracereplay/main/main.go +++ b/tools/tracereplay/main/main.go @@ -86,7 +86,7 @@ func (c *saveCmd) Execute(_ context.Context, f *flag.FlagSet, args ...interface{ return subcommands.ExitFailure } - ch := make(chan os.Signal) + ch := make(chan os.Signal, 1) signal.Notify(ch, os.Interrupt) done := make(chan struct{})