tmpfiles: also order glob child/parent relationships
This is necessary so that "r" can be nested and are always executed in the same order. Fixes: #10191
This commit is contained in:
@@ -3152,6 +3152,8 @@ static int link_parent(ItemArray *a) {
|
||||
ItemArray *j;
|
||||
|
||||
j = ordered_hashmap_get(items, prefix);
|
||||
if (!j)
|
||||
j = ordered_hashmap_get(globs, prefix);
|
||||
if (j) {
|
||||
r = set_ensure_allocated(&j->children, NULL);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user