summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-04-12 20:19:48 +0100
committerLeah Rowe <leah@libreboot.org>2025-04-12 20:19:48 +0100
commit52f3d54116f2efc05c38efb0ab92439ce267662e (patch)
treee4b3e821c7f725e024096c188f8c2e4f7bc0c9f1
parentc4c6692b761a50838deab5ed5ce5d3ff521fab7d (diff)
vendor.sh: properly call err_ in fail_inject
i can't call $err (variable), because it's set to fail_inject. fix this infinite loop, which was an oversight in the previous commit. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/vendor.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 6af25935..31b1f76d 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -337,7 +337,7 @@ fail_inject()
printf "\n\n%s\n\n" "$dontflash" 1>&2
printf "WARNING: File '%s' was NOT modified.\n\n" "$archive" 1>&2
printf "Please MAKE SURE vendor files are inserted before flashing\n\n"
- $err "$1"
+ err_ "$1"
}
vendor_inject()