mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-18 02:05:13 +00:00
Fixed a bug about attributes of mount point (#2147)
This commit is contained in:
parent
9c74014443
commit
c4f95f14cb
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user