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

View File

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