chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf18f7
)
tmpfiles: consider TRUNCATE_DIRECTORY as well.
author
Gustavo Sverzut Barbieri
<barbieri@profusion.mobi>
Wed, 20 Oct 2010 01:06:34 +0000
(23:06 -0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 21 Oct 2010 11:53:47 +0000
(13:53 +0200)
reorder lines to match the enum declaration.
src/tmpfiles.c
patch
|
blob
|
history
diff --git
a/src/tmpfiles.c
b/src/tmpfiles.c
index 73246bdd6773a605ea8f388a9bbf75e7c6acc8f9..1ad5a01eab9eaf3abd32c8fa4d7340287c34498b 100644
(file)
--- a/
src/tmpfiles.c
+++ b/
src/tmpfiles.c
@@
-497,8
+497,9
@@
static int parse_line(const char *fname, unsigned line, const char *buffer, cons
}
if (i->type != CREATE_FILE &&
- i->type != CREATE_DIRECTORY &&
i->type != TRUNCATE_FILE &&
+ i->type != CREATE_DIRECTORY &&
+ i->type != TRUNCATE_DIRECTORY &&
i->type != IGNORE_PATH &&
i->type != REMOVE_PATH &&
i->type != RECURSIVE_REMOVE_PATH) {