Fixed stupid bug
[project/luci.git] / modules / admin-full / luasrc / view / admin_system / upgrade.htm
index 569a0bb..a3d97d6 100644 (file)
@@ -48,4 +48,5 @@ $Id$
 <% else %>
 <div class="error"><%:a_s_flash_notimplemented%></div>
 <% end %>
-<%+footer%>
\ No newline at end of file
+<%+footer%>
+<% if ret == 0 then luci.sys.reboot() end %>