Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interrupted omc upgrade corrupts the binary and causes segmentation fault #176

Closed
palonsoro opened this issue Aug 14, 2024 · 0 comments · Fixed by #177
Closed

Interrupted omc upgrade corrupts the binary and causes segmentation fault #176

palonsoro opened this issue Aug 14, 2024 · 0 comments · Fixed by #177

Comments

@palonsoro
Copy link

Steps to reproduce:

  • Run omc upgrade --to=latest
  • While the binary is downloading, interrupt omc command in anyway (either because internet connection goes away or you are too impatient and prefer to retry later)
  • omc binary ends up corrupted (as if it only contained the bits downloaded before the command was cancelled)

It might work better to download it to a temporary location/name and perform a more atomical replacement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant