blobs/download: do final check of _dest in fetch()

This way, the file is checked regardless of what type of
blob is handled, not just Intel ME.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-09-29 21:44:51 +01:00
parent 9a7bf4af0f
commit 9b94df5dbb
2 changed files with 3 additions and 2 deletions
-2
View File
@@ -92,8 +92,6 @@ extract_intel_me()
{
bruteforce_extract_intel_me "$(pwd)/${_dest}" "$(pwd)/${appdir}" || \
err "extract_intel_me: could not extract Intel ME firmware"
[ -f "${_dest}" ] && return 0
err "extract_intel_me, ${board}: '${_dest}' missing"
}
# cursed, carcinogenic code. TODO rewrite it better