summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netfs/fuse/fuseDirs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs/fuse/fuseDirs.cpp b/netfs/fuse/fuseDirs.cpp
index a4fa233..dd5f0db 100644
--- a/netfs/fuse/fuseDirs.cpp
+++ b/netfs/fuse/fuseDirs.cpp
@@ -49,7 +49,7 @@ namespace NetFS {
auto od = getProxy<OpenDirPtr>(fi->fh);
const std::string path(p);
auto expiry = time(nullptr) + 2;
- if (flags == FUSE_READDIR_PLUS) {
+ if (flags & FUSE_READDIR_PLUS) {
for (const auto & e : od->remote->listdir()) {
if (auto stat = converter.convert(e.second); stat.st_mode) {
filler(buf, e.first.c_str(), nullptr, 0, FUSE_FILL_DIR_PLUS);