diff --git a/src/fuse_readdir_seq_getdents.icpp b/src/fuse_readdir_seq_getdents.icpp index 796d05e9..d76b9138 100644 --- a/src/fuse_readdir_seq_getdents.icpp +++ b/src/fuse_readdir_seq_getdents.icpp @@ -37,6 +37,9 @@ _readdir(const Branches::Ptr &branches_, const auto &branch = *(branches_)[i]; const auto fd = fds_[i]; + if(fd < 0) + continue; + while(true) { ssize_t nread;