modules/admin-{full,mini}: draw newlines in sysupgrade status output
[project/luci.git] / modules / admin-mini / luasrc / controller / mini / system.lua
index c7bacb2..589e83a 100644 (file)
@@ -162,7 +162,7 @@ function action_upgrade()
                                while true do
                                        local ln = fd:read("*l")
                                        if not ln then break end
-                                       luci.http.write(ln)
+                                       luci.http.write(ln .. "\n")
                                end
                                fd:close()
                        end