diff options
author | Felix Lange <fjl@twurst.com> | 2015-07-06 22:48:34 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-07-06 22:48:34 +0800 |
commit | d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f (patch) | |
tree | 9d1c5f2388e55fb63a7eefe1f751e8498fc1eac8 /cmd/utils/cmd.go | |
parent | 5615fc47149ea5db6ad6f5b1b716e5af9900f848 (diff) | |
download | dexon-d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f.tar dexon-d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f.tar.gz dexon-d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f.tar.bz2 dexon-d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f.tar.lz dexon-d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f.tar.xz dexon-d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f.tar.zst dexon-d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f.zip |
cmd/utils: fix interrupt handling to actually see subsequent interrupts
Diffstat (limited to 'cmd/utils/cmd.go')
-rw-r--r-- | cmd/utils/cmd.go | 2 |
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 |