aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/cmd.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-22 23:22:50 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-02-23 18:16:46 +0800
commit1ca20a2697e5df840a0541b61f274379b43fddc7 (patch)
tree6fc5d566164c5fd960d91f0b88588d0688e715bd /cmd/utils/cmd.go
parent23a5d64fd059bb8bdf02781608a15b8b1bdbdfd2 (diff)
downloadgo-tangerine-1ca20a2697e5df840a0541b61f274379b43fddc7.tar
go-tangerine-1ca20a2697e5df840a0541b61f274379b43fddc7.tar.gz
go-tangerine-1ca20a2697e5df840a0541b61f274379b43fddc7.tar.bz2
go-tangerine-1ca20a2697e5df840a0541b61f274379b43fddc7.tar.lz
go-tangerine-1ca20a2697e5df840a0541b61f274379b43fddc7.tar.xz
go-tangerine-1ca20a2697e5df840a0541b61f274379b43fddc7.tar.zst
go-tangerine-1ca20a2697e5df840a0541b61f274379b43fddc7.zip
cmd, whisper/mailserver: revert to utils.Fatalf
Diffstat (limited to 'cmd/utils/cmd.go')
-rw-r--r--cmd/utils/cmd.go2
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)