all: Revert the underscore sillyness

This commit is contained in:
Jakob Borg committed 2019-02-02 12:16:27 +01:00
1 parent 9fd270d78e
commit c2ddc83509
70 files changed
+252 -252

No files matched your search

+1 -1
View File
@@ -202,7 +202,7 @@ func upgradeToURL(archiveName, binary string, url string) error {
return err
}
if err := os.Rename(fname, binary); err != nil {
_ = os.Rename(old, binary)
os.Rename(old, binary)
return err
}
return nil