1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-26 14:04:03 +03:00

tmpfiles: consider TRUNCATE_DIRECTORY as well.

reorder lines to match the enum declaration.
This commit is contained in:
Gustavo Sverzut Barbieri 2010-10-19 23:06:34 -02:00 committed by Lennart Poettering
parent 5cf18f777f
commit abe35cc2b7

View File

@ -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) {