diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2019-10-30 23:36:55 -0500 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2019-11-02 21:36:36 -0500 |
commit | 0c736cf027a90c0540834c53b957b8c577591c91 (patch) | |
tree | a8fb3a5584e30288ebd9fa04516fa36eafb1bbdf /libs | |
parent | b7b39afdd822e582140c3767e71efd40fd4875ae (diff) | |
download | librebootfr-0c736cf027a90c0540834c53b957b8c577591c91.tar.gz librebootfr-0c736cf027a90c0540834c53b957b8c577591c91.zip |
Fail early for project actions
Fails immediately if any command returns non-zero within a project
action.
Diffstat (limited to 'libs')
-rwxr-xr-x | libs/project | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/project b/libs/project index 673689ee..d884556d 100755 --- a/libs/project +++ b/libs/project @@ -217,6 +217,8 @@ project_action() { printf '%s\n' "Project $project $action (with ${arguments:-no argument})" ( + set -e + "$action" "$@" ) |