mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix a typo in ssh-run
This commit is contained in:
@@ -61,7 +61,7 @@ end
|
||||
|
||||
function action (host, port)
|
||||
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
|
||||
return "Failed to connect to ssh server: " .. err
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user