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:
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user