summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-12 17:16:21 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-12 17:52:47 +0200
commit34f2fd5096cdb26ef57998740b1b876332d968fc (patch)
tree0078c8311d0227db4ef2ee57784021bda6dbae69 /src
parentconf-parser: Add root argument to config_parse_many() (diff)
downloadsystemd-34f2fd5096cdb26ef57998740b1b876332d968fc.tar.xz
systemd-34f2fd5096cdb26ef57998740b1b876332d968fc.zip
repart: Make sure we look up dropin files in the root directory
Diffstat (limited to '')
-rw-r--r--src/partition/repart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partition/repart.c b/src/partition/repart.c
index 30d341f795..1f3e78a84e 100644
--- a/src/partition/repart.c
+++ b/src/partition/repart.c
@@ -1638,7 +1638,7 @@ static int partition_read_definition(Partition *p, const char *path, const char
STRV_MAKE_CONST(path),
conf_file_dirs,
dropin_dirname,
- /* root = */ NULL,
+ arg_definitions ? NULL : arg_root,
"Partition\0",
config_item_table_lookup, table,
CONFIG_PARSE_WARN,