summaryrefslogtreecommitdiff
path: root/blobutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-07-29 08:27:20 +0100
committerLeah Rowe <leah@libreboot.org>2023-07-29 08:27:20 +0100
commit4875eef116549104254459fc6e2a01143228e52f (patch)
tree23fa1d7c3ce6b97c89f49ff623adcb7a16ad44f4 /blobutil
parentcca93ca3f366af09b92c163e11cdfd3240c11adb (diff)
blobs/download: properly handle backup/main url
Immediately after the last revision, which was a hacky workaround to the problem, I realised the actual problem, and the real solution: In the switch block, check *backup* first. Then it breaks, continuing on the iteration. If it's variable for a main URL, it'll reliably go to the next check in the block, whereas if it's backup, it'll default to the first one in each case. This bug has been annoying the sh*t out of me for ages, and I've finally nailed it. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'blobutil')
0 files changed, 0 insertions, 0 deletions