]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: 'e' is supposed to accept shell-style globs 8801/head
authorFranck Bui <fbui@suse.com>
Tue, 24 Apr 2018 10:24:38 +0000 (12:24 +0200)
committerFranck Bui <fbui@suse.com>
Tue, 24 Apr 2018 10:24:38 +0000 (12:24 +0200)
src/tmpfiles/tmpfiles.c

index d52af22d735fe4d07321ce4e5c444f7a8e627460..bc662991425bc6d9215c9baa67a4b94616e17e51 100644 (file)
@@ -1570,7 +1570,7 @@ static int create_item(Item *i) {
 
                 _fallthrough_;
         case EMPTY_DIRECTORY:
-                r = path_set_perms(i, i->path);
+                r = glob_item(i, path_set_perms);
                 if (q < 0)
                         return q;
                 if (r < 0)