Merge pull request #34610 from poettering/exec-start-single-line
Soft deprecate multiple ExecStart= command lines within a single assignment
This commit is contained in:
@@ -920,7 +920,11 @@ int config_parse_exec(
|
||||
if (r <= 0)
|
||||
return 0;
|
||||
|
||||
/* A lone ";" is a separator. Let's make sure we don't treat it as an executable name. */
|
||||
/* A lone ";" is a separator. Let's make sure we don't treat it as an executable name.
|
||||
*
|
||||
* SOFT DEPRECATION: We support multiple command lines in one ExecStart= line for
|
||||
* compatibility with older versions, but we no longer document this exists, it's deprecated
|
||||
* in a soft way. New unit files, should not use this feature. */
|
||||
if (streq(firstword, ";")) {
|
||||
semicolon = true;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user