diff --git a/update/update.go b/update/update.go index c1f47ac..ffbfb79 100644 --- a/update/update.go +++ b/update/update.go @@ -62,6 +62,6 @@ func CheckAndUpdate() error { // return fmt.Errorf("failed to restart program: %v", err) // } fmt.Printf("Successfully updated to version %s\n", latest.Version) - os.Exit(0) + os.Exit(42) return nil }