diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-08-20 23:41:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 23:41:20 +0300 |
commit | b93d3f3a1812e05def960835d39080780edb7129 (patch) | |
tree | ac9544f6bd248bb402c03e132402b9b5cd86255c | |
parent | 4dd932fdf9d386518bd33dbd8f93e9cfef45dbcc (diff) | |
parent | 53b90e3c8c7ad2eedc2cb969d1b052aabda2701d (diff) |
Merge pull request #2103 from dibdot/force_fix
luci-mod-admin-full: fix forced upgrade
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/controller/admin/system.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua index b278b2187..2fa7847fc 100644 --- a/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua +++ b/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua @@ -295,7 +295,7 @@ function action_sysupgrade() -- elseif step == 2 then local keep = (http.formvalue("keep") == "1") and "" or "-n" - local force = (http.formvalue("force") == "1") and "" or "-F" + local force = (http.formvalue("force") == "1") and "-F" or "" luci.template.render("admin_system/applyreboot", { title = luci.i18n.translate("Flashing..."), msg = luci.i18n.translate("The system is flashing now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It might be necessary to renew the address of your computer to reach the device again, depending on your settings."), |