Do not print update message unless there is an update. (#2919)

master
Harshavardhana 8 years ago committed by GitHub
parent 6303f26330
commit 55f6828750
  1. 4
      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

Loading…
Cancel
Save