mirror of
https://github.com/systemd/systemd.git
synced 2026-07-13 02:51:14 +00:00
tmpfiles: consider TRUNCATE_DIRECTORY as well.
reorder lines to match the enum declaration.
This commit is contained in:
committed by
Lennart Poettering
parent
5cf18f777f
commit
abe35cc2b7
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user