1
0
mirror of https://github.com/taigrr/go-selfupdate synced 2025-01-18 04:33:12 -08:00

Removed exit when no release is found incase certain os/arch types dont have older versions

This commit is contained in:
Mark Sanborn 2014-01-30 20:50:22 -08:00
parent 555c7158cf
commit 0bcff3c955

View File

@ -107,8 +107,8 @@ func main() {
fName := filepath.Join(genDir, file.Name(), plat+".gz")
old, err := os.Open(fName)
if err != nil {
fmt.Fprintf(os.Stderr, "Can't open %s: error: %s\n", fName, err)
os.Exit(1)
// Don't have an old release for this os/arch, continue on
continue
}
fName = filepath.Join(genDir, version, plat+".gz")