Browse Source

don't continue after a download error

Alan Shreve 12 years ago
parent
commit
8339a76cc1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/ngrok/client/update_release.go

+ 1 - 0
src/ngrok/client/update_release.go

@@ -58,6 +58,7 @@ func autoUpdate(s *State, ctl *ui.Controller, token string) {
 		available, err := update.NewDownload(checkUrl).Check()
 		if err != nil {
 			log.Error("Error while checking for update: %v", err)
+			return
 		}
 
 		if !available {