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) 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