diff options
author | Leah Rowe <leah@libreboot.org> | 2023-12-11 05:21:27 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-12-11 05:21:27 +0000 |
commit | 2e779a54951406247197cf21a31c54a36ec1fa06 (patch) | |
tree | 381d1b71893bcbeae5f7029379174cbe31c97a1a /include/mrc.sh | |
parent | 9558e2fce790b044c33c54dfc58780a66e98b770 (diff) |
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 <leah@libreboot.org>
Diffstat (limited to 'include/mrc.sh')
-rwxr-xr-x | include/mrc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mrc.sh b/include/mrc.sh index e57026a4..929aed7a 100755 --- a/include/mrc.sh +++ b/include/mrc.sh @@ -20,7 +20,7 @@ extract_mrc() extract_partition extract_shellball extract_coreboot - ) + ) || err "mrc download/extract failure" "${cbfstool}" "${appdir}/"coreboot-*.bin extract -n mrc.bin \ -f "${_dest}" -r RO_SECTION || err "extract_mrc: cbfstool ${_dest}" |