mirror of
https://github.com/systemd/systemd
synced 2024-10-01 13:55:20 +00:00
tmpfiles: suffix --replace= properly with = in comment
This commit is contained in:
parent
2a37663036
commit
6718998d1e
|
@ -4645,12 +4645,10 @@ static int run(int argc, char *argv[]) {
|
||||||
if (!c.items || !c.globs)
|
if (!c.items || !c.globs)
|
||||||
return log_oom();
|
return log_oom();
|
||||||
|
|
||||||
/* If command line arguments are specified along with --replace, read all
|
/* If command line arguments are specified along with --replace=, read all configuration files and
|
||||||
* configuration files and insert the positional arguments at the specified
|
* insert the positional arguments at the specified place. Otherwise, if command line arguments are
|
||||||
* place. Otherwise, if command line arguments are specified, execute just
|
* specified, execute just them, and finally, without --replace= or any positional arguments, just
|
||||||
* them, and finally, without --replace= or any positional arguments, just
|
* read configuration and execute it. */
|
||||||
* read configuration and execute it.
|
|
||||||
*/
|
|
||||||
if (arg_replace || optind >= argc)
|
if (arg_replace || optind >= argc)
|
||||||
r = read_config_files(&c, config_dirs, argv + optind, &invalid_config);
|
r = read_config_files(&c, config_dirs, argv + optind, &invalid_config);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue