1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-26 08:09:07 +00:00

o [NSE] Use the correct variable 'value' instead of 'rule_return' to

show the error message of the rule function and why it has failed.
This commit is contained in:
djalal
2011-08-16 01:22:01 +00:00
parent e605cb2beb
commit 39be3a4621

View File

@@ -358,8 +358,8 @@ do
thread.parent = thread; -- itself
return thread;
elseif not s then
print_debug(1, "a thread for %s failed to load:\n%s\n", self.filename,
traceback(co, tostring(rule_return)));
log_error("A thread for %s failed to load:\n%s\n", self.filename,
traceback(co, tostring(value)));
end
return nil;
end