diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2015-08-04 09:58:50 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2015-08-04 09:58:50 +0000 |
commit | 8f0d2981ca2f0335426381416bd583c08c290f04 (patch) | |
tree | ad35e9625a8954b7a1aef9e31c534be24a752e9b | |
parent | 58a2e9acd8216f55b004e5432f76a851f7b233c0 (diff) |
man: Document invalid lines in EnvironmentFile
If a line doesn't contain an = separator, it is skipped, rather than
raising an error.
This is potentially useful, so let's document this behaviour.
-rw-r--r-- | man/systemd.exec.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 45a4422dc3..8fd75d274e 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -263,7 +263,8 @@ <listitem><para>Similar to <varname>Environment=</varname> but reads the environment variables from a text file. The text file should contain new-line-separated variable assignments. - Empty lines and lines starting with ; or # will be ignored, + Empty lines, lines without an <literal>=</literal> separator, + or lines starting with ; or # will be ignored, which may be used for commenting. A line ending with a backslash will be concatenated with the following one, allowing multiline variable definitions. The parser strips |