1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-15 03:51:51 +00:00

Fix diagnostics

This commit is contained in:
Ycarus 2018-07-03 17:26:10 +02:00
parent 23fc4cd913
commit 7ba5946e5c

View file

@ -416,7 +416,7 @@ function diag_command(cmd, addr)
if addr and addr:match("^[a-zA-Z0-9%-%.:_]+$") then
luci.http.prepare_content("text/plain")
local util = io.popen(cmd % luci.util.shellquote(addr))
local util = io.popen(cmd % addr)
if util then
while true do
local ln = util:read("*l")