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

@ -1252,6 +1252,8 @@ action refer to <xref linkend="nse-tutorial-action"/>.
<literal>"prerule"</literal>, <literal>"hostrule"</literal>,
<literal>"portrule"</literal> or
<literal>"postrule"</literal>.
This variable is only available after the evaluation of
the rule functions.
</para>
</listitem>
</varlistentry>