lbmk: run ./.gitcheck clean on error

a glaring oversight on my part

Signed-off-by: Leah Rowe <leah@libreboot.org>
fsdg20230625
Leah Rowe 2023-06-20 01:06:21 +01:00
parent 917f699cc7
commit 9510d749e1
1 changed files with 2 additions and 1 deletions

3
lbmk
View File

@ -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
}