diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-17 22:56:28 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-20 23:32:53 -0500 |
commit | 184d19047370652184a44686cf85bf5001bdf413 (patch) | |
tree | ff4fe4f6a27cad87cb9da6e11b507a17e4e2daf8 /man | |
parent | ccad1fd07ce4eb40a2fcf81cfb55d9b41fdcac48 (diff) |
Tighten checking for variable validity
In the future we might want to allow additional syntax (for example
"unset VAR". But let's check that the data we're getting does not contain
anything unexpected.
Diffstat (limited to 'man')
-rw-r--r-- | man/environment.d.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/man/environment.d.xml b/man/environment.d.xml index 2302992fa5..4022c25c36 100644 --- a/man/environment.d.xml +++ b/man/environment.d.xml @@ -81,6 +81,9 @@ and <literal>$OTHER_KEY</literal> format. No other elements of shell syntax are supported. </para> + <para>Each<replaceable>KEY</replaceable> must be a valid variable name. Empty lines + and lines beginning with the comment character <literal>#</literal> are ignored.</para> + <refsect2> <title>Example</title> <example> |