main lbmk script: exit non-zero if argc is wrong

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-08-20 21:39:39 +01:00
parent 6e92d9a359
commit 0faf2a0c6f
+1 -1
View File
@@ -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"