]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/tmpfiles/tmpfiles.c
tmpfiles: also order glob child/parent relationships
[thirdparty/systemd.git] / src / tmpfiles / tmpfiles.c
index ea09abdb1c0de75e91e0d951a294f4206d3ddea3..acde15e2d8ef0bf4f0d4b9706ad3ada021834e05 100644 (file)
@@ -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)