From 63362a20a93058823955cf75e3df666a8afa5457 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 7 Feb 2024 00:04:12 -0600 Subject: [PATCH] fs_acl.cpp --- src/fs_acl.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); } }