Fix broken upgrades (fixes #1175)

This commit is contained in:
Audrius Butkevicius 2015-01-04 18:19:00 +00:00
parent ed747a2d3d
commit 83d25f09a3

View File

@ -80,7 +80,7 @@ func upgradeTo(binary string, rel Release) error {
}
if strings.HasPrefix(assetName, expectedRelease) {
upgradeToURL(binary, asset.URL)
return upgradeToURL(binary, asset.URL)
}
}