From c4f95f14cbeb4b243a0e30829750ec9a28653498 Mon Sep 17 00:00:00 2001 From: Takeshi Nakatani Date: Sat, 15 Apr 2023 14:34:39 +0900 Subject: [PATCH] Fixed a bug about attributes of mount point (#2147) --- src/s3fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s3fs.cpp b/src/s3fs.cpp index 6f0c80a..e510c5a 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -518,7 +518,7 @@ static int get_object_attribute(const char* path, struct stat* pstbuf, headers_t // set headers for mount point from default stat if(is_mountpoint){ - if(0 != result){ + if(0 != result || pheader->empty()){ has_mp_stat = false; // [NOTE]