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

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-08-20 21:39:39 +01:00
parent 6e92d9a359
commit 0faf2a0c6f
1 changed files with 1 additions and 1 deletions

2
lbmk
View File

@ -46,7 +46,7 @@ main()
exit 0 exit 0
elif [ $# -lt 2 ]; then elif [ $# -lt 2 ]; then
usage $0 usage $0
exit 0 exit 1
fi fi
if [ "${mode}" = "dependencies" ]; then if [ "${mode}" = "dependencies" ]; then
install_dependencies $@ || die "Could not install dependencies" install_dependencies $@ || die "Could not install dependencies"