diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-02-22 23:22:50 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-02-23 18:16:46 +0800 |
commit | 1ca20a2697e5df840a0541b61f274379b43fddc7 (patch) | |
tree | 6fc5d566164c5fd960d91f0b88588d0688e715bd /cmd/utils/cmd.go | |
parent | 23a5d64fd059bb8bdf02781608a15b8b1bdbdfd2 (diff) | |
download | dexon-1ca20a2697e5df840a0541b61f274379b43fddc7.tar dexon-1ca20a2697e5df840a0541b61f274379b43fddc7.tar.gz dexon-1ca20a2697e5df840a0541b61f274379b43fddc7.tar.bz2 dexon-1ca20a2697e5df840a0541b61f274379b43fddc7.tar.lz dexon-1ca20a2697e5df840a0541b61f274379b43fddc7.tar.xz dexon-1ca20a2697e5df840a0541b61f274379b43fddc7.tar.zst dexon-1ca20a2697e5df840a0541b61f274379b43fddc7.zip |
cmd, whisper/mailserver: revert to utils.Fatalf
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 5baa44980..062b9c50d 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -62,7 +62,7 @@ func Fatalf(format string, args ...interface{}) { func StartNode(stack *node.Node) { if err := stack.Start(); err != nil { - log.Crit(fmt.Sprintf("Error starting protocol stack: %v", err)) + Fatalf("Error starting protocol stack: %v", err) } go func() { sigc := make(chan os.Signal, 1) |