summaryrefslogtreecommitdiff
path: root/src/partition
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/partition
parent947f59ba2bb860c70bb6192fedf7208a73670e87 (diff)
downloadsystemd-34f2fd5096cdb26ef57998740b1b876332d968fc.tar.gz
repart: Make sure we look up dropin files in the root directory
Diffstat (limited to 'src/partition')
-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,