main lbmk script: exit non-zero if argc is wrong
Signed-off-by: Leah Rowe <leah@libreboot.org>btrfsvols
parent
6e92d9a359
commit
0faf2a0c6f
2
lbmk
2
lbmk
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue