blobs/inject: add error condition on rm command

this was overlooked, earlier on in lbmk audit 2

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-09-09 20:15:50 +01:00
parent 20be007f5b
commit f03efbc27f
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ modify_gbe()
"${ifdtool}" -i GbE:"${_gbe_tmp}" "${rom}" -O "${rom}" || \
err "modify_gbe: ${board}: cannot insert modified gbe.bin"
rm -f "${_gbe_tmp}"
rm -f "${_gbe_tmp}" || err "modify_gbe: can't remove ${_gbe_tmp}"
}
usage()