summaryrefslogtreecommitdiff
path: root/lbmk
diff options
context:
space:
mode:
Diffstat (limited to 'lbmk')
-rwxr-xr-xlbmk3
1 files changed, 2 insertions, 1 deletions
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
}