diff --git a/cmd/nitro/nitro.go b/cmd/nitro/nitro.go index 572e6d2f06..04bdeb3228 100644 --- a/cmd/nitro/nitro.go +++ b/cmd/nitro/nitro.go @@ -679,8 +679,6 @@ func mainImpl() int { exitCode = 1 } if nodeConfig.Init.ThenQuit { - close(sigint) - return exitCode } } @@ -694,9 +692,6 @@ func mainImpl() int { log.Info("shutting down because of sigint") } - // cause future ctrl+c's to panic - close(sigint) - return exitCode }