From: Jo-Philipp Wich Date: Wed, 1 Jul 2009 00:41:42 +0000 (+0000) Subject: modules/admin-{full,mini}: draw newlines in sysupgrade status output X-Git-Tag: 0.10.0~1470 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0179c5ea05fcb01eebfceda5e5fe4373d7f8b163;p=oweals%2Fluci.git modules/admin-{full,mini}: draw newlines in sysupgrade status output --- diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua index 39fe16a7f..56010ea9e 100644 --- a/modules/admin-full/luasrc/controller/admin/system.lua +++ b/modules/admin-full/luasrc/controller/admin/system.lua @@ -279,7 +279,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 diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua index c7bacb248..589e83a84 100644 --- a/modules/admin-mini/luasrc/controller/mini/system.lua +++ b/modules/admin-mini/luasrc/controller/mini/system.lua @@ -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