diff --git a/docs/scripting.xml b/docs/scripting.xml index 540c0adf1..4291b0c73 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -2715,7 +2715,7 @@ error_message describes the occurred error. - + mutex @@ -2759,7 +2759,7 @@ error_message describes the occurred error. "running"—Returns the thread locked - on the mutex or nil. This + on the mutex or nil. This should only be used for debugging as it interferes with finished threads from being collected. @@ -2777,7 +2777,7 @@ local mutex = nmap.mutex(id); function action(host, port) mutex "lock"; -- do stuff - mutex"done"; + mutex "done"; return script_output; end