From ced2083ab3da81c465db3f2e44e8c32e6f15e1da Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sat, 31 Dec 2016 14:40:19 +0200 Subject: [PATCH] Fix https://github.com/kataras/iris/issues/570 | no-internet connection but Config.CheckForUpdates is true --- iris.go | 1 + 1 file changed, 1 insertion(+) diff --git a/iris.go b/iris.go index d24f9d20..5bd62f47 100644 --- a/iris.go +++ b/iris.go @@ -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))