summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua2
-rw-r--r--modules/admin-mini/luasrc/controller/mini/system.lua2
2 files changed, 2 insertions, 2 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
diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua
index c7bacb2489..589e83a841 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