mirror of
https://github.com/kenzok8/small-package
synced 2025-01-07 07:06:58 +08:00
update 2024-12-31 14:16:23
This commit is contained in:
parent
dcc62167dd
commit
d4c2ba3a4d
@ -111,7 +111,7 @@ function check_port()
|
|||||||
ret = socket:connect(s.server, s.server_port)
|
ret = socket:connect(s.server, s.server_port)
|
||||||
if tostring(ret) == "true" then
|
if tostring(ret) == "true" then
|
||||||
socket:close()
|
socket:close()
|
||||||
retstring .. "<font><b style='color:green'>[" .. server_name .. "] OK.</b></font><br />"
|
retstring = retstring .. "<font><b style='color:green'>[" .. server_name .. "] OK.</b></font><br />"
|
||||||
else
|
else
|
||||||
retstring = retstring .. "<font><b style='color:red'>[" .. server_name .. "] Error.</b></font><br />"
|
retstring = retstring .. "<font><b style='color:red'>[" .. server_name .. "] Error.</b></font><br />"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user