aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-07-06 22:48:34 +0800
committerFelix Lange <fjl@twurst.com>2015-07-06 22:48:34 +0800
commitd4c2e9de32b79333ffc3a8f9d17dc11db21fd85f (patch)
tree9d1c5f2388e55fb63a7eefe1f751e8498fc1eac8
parent5615fc47149ea5db6ad6f5b1b716e5af9900f848 (diff)
downloadgo-tangerine-d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f.tar.gz
go-tangerine-d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f.tar.zst
go-tangerine-d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f.zip
cmd/utils: fix interrupt handling to actually see subsequent interrupts
-rw-r--r--cmd/utils/cmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go
index 33a6c1cb2..20fc57f92 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -132,7 +132,7 @@ func StartEthereum(ethereum *eth.Ethereum) {
defer signal.Stop(sigc)
<-sigc
glog.V(logger.Info).Infoln("Got interrupt, shutting down...")
- ethereum.Stop()
+ go ethereum.Stop()
logger.Flush()
for i := 10; i > 0; i-- {
<-sigc