Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix tgz download failures not treated as errors #154

Merged
merged 1 commit into from
May 19, 2024

Conversation

mattmess1221
Copy link
Contributor

Fixes #23

Bug is caused by curl ... | tar xz being followed by &&. This suppresses any errors, even with set -eo pipefail.

Also curl was missing the -f flag to treat non-2xx status codes as errors. wget already treats non-2xx as errors.

@josegonzalez
Copy link
Member

@killjoy1221 you're on a roll!

@josegonzalez josegonzalez merged commit 40ffaac into dokku:main May 19, 2024
3 checks passed
@mattmess1221 mattmess1221 deleted the fix/install-4xx branch May 21, 2024 17:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle download errors for tarballs
2 participants