refactor
Some checks reported errors
BlockStorage/repertory_mac/pipeline/head There was a failure building this commit
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2025-08-06 14:53:59 -05:00
parent 63ef79f441
commit b8daf9b9b7

View File

@@ -74,9 +74,7 @@ namespace {
function_name, std::string{"failed to get group list count|error|"} +
std::to_string(errno));
}
#endif // defined(__APPLE__)
#if !defined(__APPLE__)
groups.resize(static_cast<std::size_t>(group_count));
res = getgrouplist(pass->pw_name, pass->pw_gid, groups.data(), &group_count);
if (res >= 0) {