mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
Fix broken upgrades (fixes #1175)
This commit is contained in:
parent
ed747a2d3d
commit
83d25f09a3
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user