]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: Document invalid lines in EnvironmentFile 856/head
authorRichard Maw <richard.maw@codethink.co.uk>
Tue, 4 Aug 2015 09:58:50 +0000 (09:58 +0000)
committerRichard Maw <richard.maw@codethink.co.uk>
Tue, 4 Aug 2015 09:58:50 +0000 (09:58 +0000)
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.

man/systemd.exec.xml

index 45a4422dc34ce804a4082d811232545f9d54e394..8fd75d274e634aee9de1796cd37526e3a24f6ce3 100644 (file)
         <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