Fixed a bug about attributes of mount point (#2147)

This commit is contained in:
Takeshi Nakatani 2023-04-15 14:34:39 +09:00 committed by GitHub
parent 9c74014443
commit c4f95f14cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]