mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Put </programlisting> in the first column in an example in scripting.xml to
avoid a trailing blank line.
This commit is contained in:
parent
8e89a0e217
commit
6bcb9f7e7d
1 changed files with 2 additions and 2 deletions
|
|
@ -1449,7 +1449,7 @@ socket:close()
|
|||
|
||||
<example id="nse-mutex-handling">
|
||||
<title>Mutex manipulation</title>
|
||||
<programlisting>
|
||||
<programlisting>
|
||||
local mutex = nmap.mutex("My Script's Unique ID");
|
||||
function action(host, port)
|
||||
mutex "lock";
|
||||
|
|
@ -1457,7 +1457,7 @@ function action(host, port)
|
|||
mutex "done";
|
||||
return script_output;
|
||||
end
|
||||
</programlisting>
|
||||
</programlisting>
|
||||
</example>
|
||||
</sect2>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue