Fixed stupid bug

This commit is contained in:
Steven Barth 2008-09-06 19:39:03 +00:00
parent 087bd8afc7
commit 72927597bc
4 changed files with 4 additions and 4 deletions

View file

@ -214,7 +214,6 @@ function action_upgrade()
end
luci.template.render("admin_system/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
luci.sys.reboot()
end
function _keep_pattern()

View file

@ -48,4 +48,5 @@ $Id$
<% else %>
<div class="error"><%:a_s_flash_notimplemented%></div>
<% end %>
<%+footer%>
<%+footer%>
<% if ret == 0 then luci.sys.reboot() end %>

View file

@ -111,7 +111,6 @@ function action_upgrade()
end
luci.template.render("mini/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
luci.sys.reboot()
end
function _keep_pattern()

View file

@ -48,4 +48,5 @@ $Id$
<% else %>
<div class="error"><%:a_s_flash_notimplemented%></div>
<% end %>
<%+footer%>
<%+footer%>
<% if ret == 0 then luci.sys.reboot() end %>