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

This commit is contained in:
Harshavardhana 2016-10-13 09:17:08 -07:00 committed by GitHub
parent 6303f26330
commit 55f6828750
1 changed files with 3 additions and 1 deletions

View File

@ -192,9 +192,11 @@ func Main() {
// because of network errors.
return nil
}
if updateMsg.Update {
console.Println(updateMsg)
}
}
}
return nil
}