From 55f6828750b4a6a6790feaac273f6c635e7fe22a Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 13 Oct 2016 09:17:08 -0700 Subject: [PATCH] Do not print update message unless there is an update. (#2919) --- cmd/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/main.go b/cmd/main.go index a5571479d..ab079f055 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -192,7 +192,9 @@ func Main() { // because of network errors. return nil } - console.Println(updateMsg) + if updateMsg.Update { + console.Println(updateMsg) + } } } return nil