modules/admin-{full,mini}: draw newlines in sysupgrade status output
This commit is contained in:
parent
58a5b15c0b
commit
0179c5ea05
2 changed files with 2 additions and 2 deletions
|
@ -279,7 +279,7 @@ function action_upgrade()
|
||||||
while true do
|
while true do
|
||||||
local ln = fd:read("*l")
|
local ln = fd:read("*l")
|
||||||
if not ln then break end
|
if not ln then break end
|
||||||
luci.http.write(ln)
|
luci.http.write(ln .. "\n")
|
||||||
end
|
end
|
||||||
fd:close()
|
fd:close()
|
||||||
end
|
end
|
||||||
|
|
|
@ -162,7 +162,7 @@ function action_upgrade()
|
||||||
while true do
|
while true do
|
||||||
local ln = fd:read("*l")
|
local ln = fd:read("*l")
|
||||||
if not ln then break end
|
if not ln then break end
|
||||||
luci.http.write(ln)
|
luci.http.write(ln .. "\n")
|
||||||
end
|
end
|
||||||
fd:close()
|
fd:close()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue