mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
readahead: don't complain that we cannot precache symlinks
http://lists.freedesktop.org/archives/systemd-devel/2012-December/007847.html
This commit is contained in:
parent
22f38abe9a
commit
1c981ff22e
@ -64,7 +64,7 @@ static int unpack_file(FILE *pack) {
|
||||
fd = open(fn, O_RDONLY|O_CLOEXEC|O_NOATIME|O_NOCTTY|O_NOFOLLOW);
|
||||
if (fd < 0) {
|
||||
|
||||
if (errno != ENOENT && errno != EPERM && errno != EACCES)
|
||||
if (errno != ENOENT && errno != EPERM && errno != EACCES && errno != ELOOP)
|
||||
log_warning("open(%s) failed: %m", fn);
|
||||
|
||||
} else if (file_verify(fd, fn, arg_file_size_max, &st) <= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user