From abe35cc2b7921891cc56cd8d402e8f7d1ef48d39 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Tue, 19 Oct 2010 23:06:34 -0200 Subject: [PATCH] tmpfiles: consider TRUNCATE_DIRECTORY as well. reorder lines to match the enum declaration. --- src/tmpfiles.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tmpfiles.c b/src/tmpfiles.c index 73246bdd6..1ad5a01ea 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) { -- 2.30.2