modules/admin-{full,mini}: draw newlines in sysupgrade status output

This commit is contained in:
Jo-Philipp Wich 2009-07-01 00:41:42 +00:00
parent 58a5b15c0b
commit 0179c5ea05
2 changed files with 2 additions and 2 deletions

View file

@ -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

View 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