From 9510d749e189b0ab77f8ce7ab037f0b6fa69ec47 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 20 Jun 2023 01:06:21 +0100 Subject: lbmk: run ./.gitcheck clean on error a glaring oversight on my part Signed-off-by: Leah Rowe --- lbmk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lbmk') diff --git a/lbmk b/lbmk index c51a0b08..e0b950e3 100755 --- a/lbmk +++ b/lbmk @@ -80,7 +80,7 @@ main() printf "Invalid option for '%s'." ${mode} die "Run: ${0} ${mode} list'." fi - "${buildpath}/${mode}/${option}" $@ || exit 1 + "${buildpath}/${mode}/${option}" $@ || die "lbmk error" esac ./.gitcheck clean @@ -121,6 +121,7 @@ listmodes() die() { + ./.gitcheck clean printf "Error: %s\n" "${@}" 1>&2 exit 1 } -- cgit v1.2.1