mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Fix a typo in ssh-run
This commit is contained in:
parent
33bfd251b4
commit
e2ccdb8074
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue