Skip to content

Commit

Permalink
Adjust for loop variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed May 19, 2024
1 parent 9014bb4 commit 7febb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwrt_flippy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ download_kernel() {
echo -e "${INFO} (${x}.${i}) [ ${vb} - ${kernel_var} ] Kernel download from [ ${kernel_down_from} ]"

# Download the kernel file. If the download fails, try again 10 times.
for i in {1..10}; do
for t in {1..10}; do
curl -fsSL "${kernel_down_from}" -o "${kernel_path}/${kernel_var}.tar.gz"
[[ "${?}" -eq "0" ]] && break || sleep 60
done
Expand Down

0 comments on commit 7febb17

Please sign in to comment.