Disable autoupgrade if not supported (fixes #763)
This commit is contained in:
@@ -1192,6 +1192,9 @@ func autoUpgrade() {
|
||||
}
|
||||
|
||||
rel, err := upgrade.LatestRelease(strings.Contains(Version, "-beta"))
|
||||
if err == upgrade.ErrUpgradeUnsupported {
|
||||
return
|
||||
}
|
||||
if err != nil {
|
||||
// Don't complain too loudly here; we might simply not have
|
||||
// internet connectivity, or the upgrade server might be down.
|
||||
|
||||
Reference in New Issue
Block a user