diff --git a/cmd/ipfs2/main.go b/cmd/ipfs2/main.go index ff82d3f15..af7ab635f 100644 --- a/cmd/ipfs2/main.go +++ b/cmd/ipfs2/main.go @@ -283,7 +283,7 @@ func handleInterrupt() { go func() { for _ = range c { log.Info("Received interrupt signal, terminating...") - exit(0) + os.Exit(0) } }() }