lbmk: exit 1 if script failed

script is -e anyway, so this is redundant, but best
put it here anyway. it can only help. correct behaviour
is always to fail on error, except in certain cases that
would be handled on a case-by-case basis in each script
This commit is contained in:
Leah Rowe
2023-06-20 01:04:11 +01:00
parent a08b6ac8e2
commit 917f699cc7
+1 -1
View File
@@ -80,7 +80,7 @@ main()
printf "Invalid option for '%s'." ${mode}
die "Run: ${0} ${mode} list'."
fi
"${buildpath}/${mode}/${option}" $@
"${buildpath}/${mode}/${option}" $@ || exit 1
esac
./.gitcheck clean