From 9268bdd56edb45a09ae4f142dd9085f25285593f Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Mon, 10 Nov 2014 23:08:01 -0800 Subject: [PATCH] refactor(ipfs2/main) replace with equivalent action --- cmd/ipfs2/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }() }