summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-07-01 00:41:42 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-07-01 00:41:42 +0000
commit0179c5ea05fcb01eebfceda5e5fe4373d7f8b163 (patch)
treeac99b35322aed3fba1d0da83e0c5b446c5252101 /modules/admin-full/luasrc/controller
parent58a5b15c0bcf27bebf1ecb5505f3a8cfa99864d2 (diff)
modules/admin-{full,mini}: draw newlines in sysupgrade status output
Diffstat (limited to 'modules/admin-full/luasrc/controller')
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua
index 39fe16a7f3..56010ea9e6 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