mirror of
https://github.com/openwrt/luci.git
synced 2026-06-20 20:51:27 +04:00
modules/admin-{full,mini}: draw newlines in sysupgrade status output
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user