mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Fix a typo in ssh-run
This commit is contained in:
@@ -61,7 +61,7 @@ end
|
|||||||
|
|
||||||
function action (host, port)
|
function action (host, port)
|
||||||
local conn = libssh2_util.SSHConnection:new()
|
local conn = libssh2_util.SSHConnection:new()
|
||||||
local status, err = helper:connect_pcall(host, port)
|
local status, err = conn:connect_pcall(host, port)
|
||||||
if not status then
|
if not status then
|
||||||
return "Failed to connect to ssh server: " .. err
|
return "Failed to connect to ssh server: " .. err
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user