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

Fix 9: Refactor script updates, fail gracefully on 404s #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

barabo
Copy link

@barabo barabo commented Sep 13, 2021

Fixes #9

Carl Anderson added 2 commits September 13, 2021 10:43
-O means overwrite the file using the remote filename
-f means to fail if the server returns a failure

This combination of flags prevents overwriting an existing script with 404 output, while also avoiding the need for a temp file or a separate function.
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 this pull request may close these issues.

Updating scripts doesn't handle failures
1 participant