summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2010-10-19 23:06:34 -0200
committerLennart Poettering <lennart@poettering.net>2010-10-21 13:53:47 +0200
commitabe35cc2b7921891cc56cd8d402e8f7d1ef48d39 (patch)
treee5fd3544894b58ff65d40ba3eca3bee0c8fe9b95 /src
parent5cf18f777f0fd6c6a9dda1c30bc99160b146c596 (diff)
tmpfiles: consider TRUNCATE_DIRECTORY as well.
reorder lines to match the enum declaration.
Diffstat (limited to 'src')
-rw-r--r--src/tmpfiles.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tmpfiles.c b/src/tmpfiles.c
index 73246bdd67..1ad5a01eab 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) {