diff --git a/hub/route/upgrade.go b/hub/route/upgrade.go index a4a8e683..b60d60d4 100644 --- a/hub/route/upgrade.go +++ b/hub/route/upgrade.go @@ -27,6 +27,7 @@ func upgrade(w http.ResponseWriter, r *http.Request) { err := updater.Update() if err != nil { log.Errorln("err:%s", err) + return } execPath, err := os.Executable()