[systemd-commits] src/tmpfiles.c
Lennart Poettering
lennart at kemper.freedesktop.org
Thu Oct 21 04:54:03 PDT 2010
src/tmpfiles.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit abe35cc2b7921891cc56cd8d402e8f7d1ef48d39
Author: Gustavo Sverzut Barbieri <barbieri at profusion.mobi>
Date: Tue Oct 19 23:06:34 2010 -0200
tmpfiles: consider TRUNCATE_DIRECTORY as well.
reorder lines to match the enum declaration.
diff --git a/src/tmpfiles.c b/src/tmpfiles.c
index 73246bd..1ad5a01 100644
--- 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) {
More information about the systemd-commits
mailing list