diff --git a/src/fs_acl.cpp b/src/fs_acl.cpp index 1eb590d0..1218934d 100644 --- a/src/fs_acl.cpp +++ b/src/fs_acl.cpp @@ -56,6 +56,8 @@ namespace fs rv = fs::fgetxattr(fd,POSIX_ACL_DEFAULT_XATTR,NULL,0); + fs::close(fd); + return (rv != -1); } }