mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix a bug which caused some NSE scripts to fail, due to the absence of
the NSE SCRIPT_NAME environment variable when the scripts are loaded. Reported by Michael Pattrick.
This commit is contained in:
@@ -51,7 +51,7 @@ else
|
||||
portrule = function() return false end
|
||||
action = function() end
|
||||
stdnse.print_debug( 3, "Skipping %s script because OpenSSL is missing.",
|
||||
filename)
|
||||
SCRIPT_NAME)
|
||||
return;
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user