summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-09-28 02:29:04 +0100
committerLeah Rowe <leah@libreboot.org>2025-09-28 02:29:04 +0100
commit8e8f29c2e571d09382d707924dfbd6742bf48896 (patch)
treed3228e00c6a6ee313e34e90cb5cb1b85b1bf2115 /include/vendor.sh
parent4075c8be38c49f4b6de6366455bc1ced9826a54f (diff)
vendor.sh: remove false error message
mkdst cycles through a bunch of outputted files when running an extract function, to find the right file as per defined checksums; if one is found, it can still show errors for the others, leading the user to think something is wrong. remove their fear by removing this benign error. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/vendor.sh')
-rw-r--r--include/vendor.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 14ef29d8..f2024334 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -183,7 +183,7 @@ fetch()
mkdst()
{
- if bad_checksum "$1" "$2"; then
+ if bad_checksum "$1" "$2" 2>/dev/null; then
x_ rm -f "$2"
else
x_ mv "$2" "$_dl_bin"