From 52f3d54116f2efc05c38efb0ab92439ce267662e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 12 Apr 2025 20:19:48 +0100 Subject: 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 --- include/vendor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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() -- cgit v1.2.1