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/update/trees | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/update/trees') diff --git a/script/update/trees b/script/update/trees index bd0fcb61..1719aab9 100755 --- a/script/update/trees +++ b/script/update/trees @@ -61,7 +61,7 @@ build_projects() x_ cd src/uefitool cmake UEFIExtract/ || [ -f Makefile ] || \ err "build_projects: !cmake UEFIExtract/" - ) + ) || err "can't build cmake on uefiextract" fi [ "${mode}" = "distclean" ] && mode="clean" -- cgit v1.2.1