mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +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:
parent
e605cb2beb
commit
39be3a4621
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue