From 2e779a54951406247197cf21a31c54a36ec1fa06 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 11 Dec 2023 05:21:27 +0000 Subject: handle errors on exits from subshells most of these are probably redundant, and will never be called, but lbmk needs to be as safe as possible under fault conditions. fail early, fail hard. Signed-off-by: Leah Rowe --- script/vendor/inject | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/vendor/inject') diff --git a/script/vendor/inject b/script/vendor/inject index 088851ca..2e125f4f 100755 --- a/script/vendor/inject +++ b/script/vendor/inject @@ -141,7 +141,7 @@ patch_release_roms() sha512sum --status -c blobhashes || \ sha1sum --status -c blobhashes || \ err "patch_release_roms: ROMs did not match expected hashes" - ) + ) || err "can't verify vendor hashes" if [ "${modifygbe}" = "true" ]; then for x in "${_tmpdir}"/bin/*/*.rom ; do -- cgit v1.2.1