summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/rom.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/rom.sh b/include/rom.sh
index 21d7e3d9..6f914009 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -62,8 +62,7 @@ cook_coreboot_config()
check_coreboot_utils()
{
for util in cbfstool ifdtool; do
- [ "$badhash" = "n" ] || rm -f "elf/$util/$1/$util" || \
- $err "!rm badelf elf/$util/$1/$util"
+ [ "$badhash" = "y" ] && x_ rm -f "elf/$util/$1/$util"
e "elf/$util/$1/$util" f && continue
utilelfdir="elf/$util/$1"