1
0
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:
Lennart Poettering 2013-01-03 22:37:38 +01:00
parent 22f38abe9a
commit 1c981ff22e

View File

@ -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) {