Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Abort execution on non-0 exit status from "after" scripts
Failures in "after" scripts do not currently result in bootstrap failures since "find" ignores the exit code of commands that it executes. There are no simple options in "find" to both propagate non-0 exit statuses of executed commands and also abort its command execution sequence in such an event. As such, use "find" only for listing script names and otherwise use a simple loop to execute them. While at it, execute scripts in numerical order according to their basename. This gives consumers control over the execution order of their scripts. For example, 50-sign.sh will be executed before 51-upload.sh.
- Loading branch information