summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-06-20 01:04:11 +0100
committerLeah Rowe <leah@libreboot.org>2023-06-20 01:04:11 +0100
commit917f699cc7c414df3215009c768d888d7f0a2114 (patch)
treefe885d8a743ea85f9e3ca93753c22be011b5d18c
parenta08b6ac8e2e9eebc6d3ea48bb98f4d288c7faa1f (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
-rwxr-xr-xlbmk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lbmk b/lbmk
index 61e6d6da..c51a0b08 100755
--- a/lbmk
+++ b/lbmk
@@ -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