updated build system
This commit is contained in:
@@ -70,7 +70,7 @@ namespace {
|
||||
int group_count{};
|
||||
auto res = getgrouplist(pass->pw_name, pass->pw_gid, nullptr, &group_count);
|
||||
if (res >= 0) {
|
||||
repertory::utils::error::raise_error(
|
||||
repertory::utils::error::handle_error(
|
||||
function_name, std::string{"failed to get group list count|error|"} +
|
||||
std::to_string(errno));
|
||||
}
|
||||
@@ -80,7 +80,7 @@ namespace {
|
||||
groups.resize(static_cast<std::size_t>(group_count));
|
||||
res = getgrouplist(pass->pw_name, pass->pw_gid, groups.data(), &group_count);
|
||||
if (res >= 0) {
|
||||
repertory::utils::error::raise_error(
|
||||
repertory::utils::error::handle_error(
|
||||
function_name,
|
||||
std::string{"failed to get group list|error|"} + std::to_string(errno));
|
||||
}
|
||||
|
Reference in New Issue
Block a user