Avoid XML errors
[project/luci.git] / modules / admin-mini / luasrc / controller / mini / system.lua
index 6d16ef8..8b711d5 100644 (file)
@@ -110,6 +110,7 @@ function action_upgrade()
                end
        end
 
+       luci.http.prepare_content("text/html")
        luci.template.render("mini/upgrade", {sysupgrade=plat, ret=ret, keep_avail=keep_avail})
 end