dokku / plugn

Hook system that lets users extend your application with plugins
MIT License
82 stars 22 forks source link

Fix tgz download failures not treated as errors #154

Closed mattmess1221 closed 5 months ago

mattmess1221 commented 5 months ago

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 commented 5 months ago

@killjoy1221 you're on a roll!