mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/geth: fix gosimple
This commit is contained in:
parent
3e1da96f8f
commit
599dcd69b3
1 changed files with 1 additions and 5 deletions
|
|
@ -232,12 +232,8 @@ func init() {
|
|||
app.Flags = append(app.Flags, metricsFlags...)
|
||||
|
||||
app.Before = func(ctx *cli.Context) error {
|
||||
if err := debug.Setup(ctx, ""); err != nil {
|
||||
return err
|
||||
return debug.Setup(ctx, "")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
app.After = func(ctx *cli.Context) error {
|
||||
debug.Exit()
|
||||
console.Stdin.Close() // Resets terminal mode.
|
||||
|
|
|
|||
Loading…
Reference in a new issue