diff options
| author | Leah Rowe <leah@libreboot.org> | 2024-10-14 01:15:44 +0100 | 
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2024-10-14 01:15:44 +0100 | 
| commit | 3b92b7b7236268c1a345bfd38e4a21e75b0c0864 (patch) | |
| tree | fd4b75d3773146f049a484364954504200f70945 | |
| parent | 147e034341674eada403b40a5c89906ab16c60b5 (diff) | |
vendor.sh: Handle error status on RUNME.sh
The deguard utility is executed within a subshell, and
the subshell does not handle error status. This patch
fixes that, so that the main shell also exits non-zero.
Signed-off-by: Leah Rowe <leah@libreboot.org>
| -rw-r--r-- | include/vendor.sh | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/include/vendor.sh b/include/vendor.sh index 36fa93d8..03ce9801 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -165,7 +165,7 @@ extract_deguard_me()  	(  	cd "$1/disreguard" || $err "Cannot cd to '$1/disreguard'"  	x_ ./RUNME.sh -	) +	) || $err "$1/disreguard: RUNME.sh returned error status"  	"$mecleaner" --whitelist MFS --truncate "$1/disreguard/me.bin" || \  	    $err "extract_intel_me: Can't truncate disreguarded ME"  	cp "$cdir/disreguard/me.bin" "$2" || \ | 
