summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-20 21:39:39 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-20 21:39:39 +0100
commit0faf2a0c6f3e6a52885e1669751c96c2b7265052 (patch)
tree63d5cd87d398c9c1b58eb432ca2e67641e8ba14f
parent6e92d9a359a029f3e6ea5aa0df4f569c0c2a7849 (diff)
main lbmk script: exit non-zero if argc is wrong
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xlbmk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lbmk b/lbmk
index c34a9680..d6bac743 100755
--- a/lbmk
+++ b/lbmk
@@ -46,7 +46,7 @@ main()
exit 0
elif [ $# -lt 2 ]; then
usage $0
- exit 0
+ exit 1
fi
if [ "${mode}" = "dependencies" ]; then
install_dependencies $@ || die "Could not install dependencies"