From: Gustavo Sverzut Barbieri Date: Wed, 20 Oct 2010 01:06:34 +0000 (-0200) Subject: tmpfiles: consider TRUNCATE_DIRECTORY as well. X-Git-Tag: v12~182 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abe35cc2b7921891cc56cd8d402e8f7d1ef48d39;p=systemd tmpfiles: consider TRUNCATE_DIRECTORY as well. reorder lines to match the enum declaration. --- diff --git a/src/tmpfiles.c b/src/tmpfiles.c index 73246bdd..1ad5a01e 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) {