Skip to content

Commit

Permalink
luci: fix force update option
Browse files Browse the repository at this point in the history
  • Loading branch information
HiGarfield committed Nov 8, 2024
1 parent b22e096 commit d1799a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function action_sysupgrade()
--
local step = tonumber(http.formvalue("step") or 1)
if step == 1 then
if image_supported(image_tmp) then
if http.formvalue("force") or image_supported(image_tmp) then
luci.template.render("admin_system/upgrade", {
checksum = image_checksum(image_tmp),
sha256ch = image_sha256_checksum(image_tmp),
Expand Down

0 comments on commit d1799a3

Please sign in to comment.