mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-20 05:36:23 +02:00
main lbmk script: exit non-zero if argc is wrong
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user