conf-files: rename .name field to .filename to make clearer what precisely it is the name of

This commit is contained in:
Lennart Poettering
2026-01-25 20:51:50 +01:00
parent 9b116a0871
commit 8a4f856977
3 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -1568,12 +1568,12 @@ static int verb_components(int argc, char **argv, void *userdata) {
FOREACH_ARRAY(i, directories, n_directories) {
ConfFile *e = *i;
if (streq(e->name, "sysupdate.d")) {
if (streq(e->filename, "sysupdate.d")) {
has_default_component = true;
continue;
}
const char *s = startswith(e->name, "sysupdate.");
const char *s = startswith(e->filename, "sysupdate.");
if (!s)
continue;