1
0
mirror of https://github.com/systemd/systemd synced 2024-07-01 07:34:28 +00:00

tmpfiles: suffix --replace= properly with = in comment

This commit is contained in:
Lennart Poettering 2024-06-18 09:56:49 +02:00 committed by Luca Boccassi
parent 2a37663036
commit 6718998d1e

View File

@ -4645,12 +4645,10 @@ static int run(int argc, char *argv[]) {
if (!c.items || !c.globs)
return log_oom();
/* If command line arguments are specified along with --replace, read all
* configuration files and insert the positional arguments at the specified
* place. Otherwise, if command line arguments are specified, execute just
* them, and finally, without --replace= or any positional arguments, just
* read configuration and execute it.
*/
/* If command line arguments are specified along with --replace=, read all configuration files and
* insert the positional arguments at the specified place. Otherwise, if command line arguments are
* specified, execute just them, and finally, without --replace= or any positional arguments, just
* read configuration and execute it. */
if (arg_replace || optind >= argc)
r = read_config_files(&c, config_dirs, argv + optind, &invalid_config);
else