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
parent
20be007f5b
commit
f03efbc27f
|
@ -333,7 +333,7 @@ modify_gbe()
|
||||||
"${ifdtool}" -i GbE:"${_gbe_tmp}" "${rom}" -O "${rom}" || \
|
"${ifdtool}" -i GbE:"${_gbe_tmp}" "${rom}" -O "${rom}" || \
|
||||||
err "modify_gbe: ${board}: cannot insert modified gbe.bin"
|
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()
|
usage()
|
||||||
|
|
Loading…
Reference in New Issue