From 8f0d2981ca2f0335426381416bd583c08c290f04 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Tue, 4 Aug 2015 09:58:50 +0000 Subject: 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. --- man/systemd.exec.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'man') 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 @@ Similar to Environment= 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 = 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 -- cgit v1.2.3-54-g00ecf