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
fsdg20230625
Leah Rowe 2023-06-20 01:04:11 +01:00
parent a08b6ac8e2
commit 917f699cc7
1 changed files with 1 additions and 1 deletions

2
lbmk
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