mirror of
https://github.com/systemd/systemd.git
synced 2025-03-09 12:58:26 +03:00
Fix bug where systemd-tmpfiles gets stuck on fifos in tmp.
Fixes #30690.
This commit is contained in:
parent
9561f24282
commit
25e6ce1c11
@ -822,7 +822,7 @@ static int dir_cleanup(
|
||||
|
||||
fd = xopenat(dirfd(d),
|
||||
de->d_name,
|
||||
O_RDONLY|O_CLOEXEC|O_NOFOLLOW|O_NOATIME,
|
||||
O_RDONLY|O_CLOEXEC|O_NOFOLLOW|O_NOATIME|O_NONBLOCK,
|
||||
/* xopen_flags = */ 0,
|
||||
/* mode = */ 0);
|
||||
if (fd < 0 && !IN_SET(fd, -ENOENT, -ELOOP))
|
||||
|
Loading…
x
Reference in New Issue
Block a user