From 0faf2a0c6f3e6a52885e1669751c96c2b7265052 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 20 Aug 2023 21:39:39 +0100 Subject: [PATCH] main lbmk script: exit non-zero if argc is wrong Signed-off-by: Leah Rowe --- lbmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"