diff options
author | Leah Rowe <leah@libreboot.org> | 2023-06-20 01:04:11 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-06-20 01:04:11 +0100 |
commit | 917f699cc7c414df3215009c768d888d7f0a2114 (patch) | |
tree | fe885d8a743ea85f9e3ca93753c22be011b5d18c /lbmk | |
parent | a08b6ac8e2e9eebc6d3ea48bb98f4d288c7faa1f (diff) |
lbmk: exit 1 if script failed
script is -e anyway, so this is redundant, but best
put it here anyway. it can only help. correct behaviour
is always to fail on error, except in certain cases that
would be handled on a case-by-case basis in each script
Diffstat (limited to 'lbmk')
-rwxr-xr-x | lbmk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ main() printf "Invalid option for '%s'." ${mode} die "Run: ${0} ${mode} list'." fi - "${buildpath}/${mode}/${option}" $@ + "${buildpath}/${mode}/${option}" $@ || exit 1 esac ./.gitcheck clean |