Browse Source

fix a variable shadowing bug

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

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

@@ -53,7 +53,7 @@ func autoUpdate(s *State, ctl *ui.Controller, token string) {
 	updateUrl := updateEndpoint + "?" + params.Encode()
 	checkUrl := checkEndpoint + "?" + params.Encode()
 
-	update := func() (tryAgain bool) {
+	update := func() {
 		log.Info("Checking for update")
 		available, err := update.NewDownload(checkUrl).Check()
 		if err != nil {