good morning!!!!

Skip to content
Snippets Groups Projects
Commit d4c2e9de authored by Felix Lange's avatar Felix Lange
Browse files

cmd/utils: fix interrupt handling to actually see subsequent interrupts

parent 5615fc47
Loading
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment