From 1cd328d15203b5006eedd92f52c0c7d2c383f6ac Mon Sep 17 00:00:00 2001 From: Alexey Akhunov Date: Fri, 29 Nov 2019 12:05:52 +0000 Subject: [PATCH] Fix lint --- cmd/rpcdaemon/commands/daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/rpcdaemon/commands/daemon.go b/cmd/rpcdaemon/commands/daemon.go index 7345aeeac..746c2a97d 100644 --- a/cmd/rpcdaemon/commands/daemon.go +++ b/cmd/rpcdaemon/commands/daemon.go @@ -128,7 +128,7 @@ func daemon(cfg Config) { log.Info("HTTP endpoint closed", "url", httpEndpoint) }() - abortChan := make(chan os.Signal) + abortChan := make(chan os.Signal, 1) signal.Notify(abortChan, os.Interrupt) sig := <-abortChan