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 scriptfsdg20230625
parent
a08b6ac8e2
commit
917f699cc7
2
lbmk
2
lbmk
|
@ -80,7 +80,7 @@ main()
|
||||||
printf "Invalid option for '%s'." ${mode}
|
printf "Invalid option for '%s'." ${mode}
|
||||||
die "Run: ${0} ${mode} list'."
|
die "Run: ${0} ${mode} list'."
|
||||||
fi
|
fi
|
||||||
"${buildpath}/${mode}/${option}" $@
|
"${buildpath}/${mode}/${option}" $@ || exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
./.gitcheck clean
|
./.gitcheck clean
|
||||||
|
|
Loading…
Reference in New Issue