1
0
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:
djalal
2011-01-30 23:31:57 +00:00
parent 747da97bd1
commit d1b34654b8
4 changed files with 17 additions and 7 deletions

View File

@@ -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