refactor(ipfs2/main) replace with equivalent action

This commit is contained in:
Brian Tiger Chow 2014-11-10 23:08:01 -08:00 committed by Juan Batiz-Benet
parent fa5ca3f27f
commit 9268bdd56e

View File

@ -283,7 +283,7 @@ func handleInterrupt() {
go func() {
for _ = range c {
log.Info("Received interrupt signal, terminating...")
exit(0)
os.Exit(0)
}
}()
}