summaryrefslogtreecommitdiff
path: root/include/get.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-10-04 02:43:24 +0100
committerLeah Rowe <leah@libreboot.org>2025-10-04 02:43:24 +0100
commit0605fbe72032125c8b430f1454794be40ab61009 (patch)
tree54f2c020a8b3a09f1c84c930680924e90dfb5ccd /include/get.sh
parente1c70f43198e7d709026ab7cd0422adc24083bd4 (diff)
xbmk: general cleanup: unroll condensed code lines
i overlooked a number of lines, during previous cleanup Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/get.sh')
-rw-r--r--include/get.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/get.sh b/include/get.sh
index 9b1c69b4..20cf7c90 100644
--- a/include/get.sh
+++ b/include/get.sh
@@ -212,6 +212,7 @@ try_fetch_file()
return 1
elif bad_checksum "$6" "$cached"; then
x_ rm -f "$cached"
+
return 1
fi
@@ -221,6 +222,7 @@ try_fetch_file()
if bad_checksum "$6" "$5"; then
x_ rm -f "$5"
+
return 1
elif [ ! -f "$5" ]; then
return 1