diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-05 16:32:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-05 16:32:59 +0100 |
commit | 65d6d8e32bf06635fd7f0fc0ea2a8d5ee9da3fe5 (patch) | |
tree | ae9ddafd6f729c9c199249e6319301ad2393f112 | |
parent | 3fdcecc87eb381ef300719e419d5863dd8a64a97 (diff) |
tmpfiles: fix 'D' lines
https://bugs.freedesktop.org/show_bug.cgi?id=87953
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index b830850879..f5b32c2ba8 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -774,7 +774,7 @@ static int create_item(Item *i) { } else r = 0; - if (i->type == CREATE_DIRECTORY || r == -ENOTTY) { + if (i->type == CREATE_DIRECTORY || i->type == TRUNCATE_DIRECTORY || r == -ENOTTY) { RUN_WITH_UMASK(0000) r = mkdir_label(i->path, i->mode); } |