diff options
author | zelig <viktor.tron@gmail.com> | 2014-06-26 17:47:45 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-06-26 17:47:45 +0800 |
commit | 2f96652bb408e65c205317403d749ba9a395c6bb (patch) | |
tree | 401b515d2a1d1d668ed692c8a39788f06ebc2b73 /ethereum/main.go | |
parent | 9a06efd0809c370451c5e85ce4688104cd5df461 (diff) | |
download | go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar.gz go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar.bz2 go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar.lz go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar.xz go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar.zst go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.zip |
interrupt handlers now ordered
Diffstat (limited to 'ethereum/main.go')
-rw-r--r-- | ethereum/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereum/main.go b/ethereum/main.go index bbbaf5541..800486e56 100644 --- a/ethereum/main.go +++ b/ethereum/main.go @@ -11,6 +11,8 @@ var logger = ethlog.NewLogger("CLI") func main() { runtime.GOMAXPROCS(runtime.NumCPU()) + utils.HandleInterrupt() + // precedence: code-internal flag default < config file < environment variables < command line Init() // parsing command line utils.InitConfig(ConfigFile, Datadir, Identifier, "ETH") |