aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-01-06 23:55:03 +0800
committerFelix Lange <fjl@twurst.com>2017-01-07 01:18:07 +0800
commit13e3b2f433c48fe81423c1a13e9a5194ece61b01 (patch)
tree19ff7c32597a41bbfe7ccc0d32ecaed05d0e6132 /cmd
parentf2da6581ba827a2aab091f764ace8017b26450d8 (diff)
downloaddexon-13e3b2f433c48fe81423c1a13e9a5194ece61b01.tar.gz
dexon-13e3b2f433c48fe81423c1a13e9a5194ece61b01.tar.zst
dexon-13e3b2f433c48fe81423c1a13e9a5194ece61b01.zip
logger, pow/dagger, pow/ezp: delete dead code
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/main.go1
-rw-r--r--cmd/utils/cmd.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index 332e1ae8d..766e49f49 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -168,7 +168,6 @@ func init() {
}
app.After = func(ctx *cli.Context) error {
- logger.Flush()
debug.Exit()
console.Stdin.Close() // Resets terminal mode.
return nil
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go
index 287efc9c8..8666f3775 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -67,7 +67,6 @@ func Fatalf(format string, args ...interface{}) {
}
}
fmt.Fprintf(w, "Fatal: "+format+"\n", args...)
- logger.Flush()
os.Exit(1)
}