Fix https://github.com/kataras/iris/issues/570 | no-internet connection but Config.CheckForUpdates is true

This commit is contained in:
Gerasimos (Makis) Maropoulos 2016-12-31 14:40:19 +02:00
parent fe79fdea44
commit ced2083ab3

View File

@ -724,6 +724,7 @@ func (s *Framework) CheckForUpdates(force bool) {
if err != nil {
writer.Write([]byte("Update failed: " + err.Error()))
return
}
updated = updater.Run(fs.Stdout(writer), fs.Stderr(writer), fs.Silent(false))