mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
tmpfiles: restore previous behavior for F/f
d4e9eb91ea
changed the behavior for the F and f actions, wrongly sending
them to glob_item(). Restore the old behavior and shortcut straight to
write_one_file().
This commit is contained in:
parent
c651162ca8
commit
1845fdd967
@ -673,6 +673,10 @@ static int create_item(Item *i) {
|
||||
|
||||
case CREATE_FILE:
|
||||
case TRUNCATE_FILE:
|
||||
r = write_one_file(i, i->path);
|
||||
if (r < 0)
|
||||
return r;
|
||||
break;
|
||||
case WRITE_FILE:
|
||||
r = glob_item(i, write_one_file);
|
||||
if (r < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user