diff options
author | timestep <timestep@yandex-team.ru> | 2022-02-10 16:49:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:17 +0300 |
commit | 38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (patch) | |
tree | 7570cb7cabf97af7ecb6ffe485e8037d516daa29 /util/system/shellcommand.cpp | |
parent | a0ffafe83b7d6229709a32fa942c71d672ac989c (diff) | |
download | ydb-38b4bd28ca420294f532ac7ca6b2770d60e3dfd0.tar.gz |
Restoring authorship annotation for <timestep@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/shellcommand.cpp')
-rw-r--r-- | util/system/shellcommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/shellcommand.cpp b/util/system/shellcommand.cpp index b1989b5c8c..d2546206e7 100644 --- a/util/system/shellcommand.cpp +++ b/util/system/shellcommand.cpp @@ -59,7 +59,7 @@ namespace { #if defined(_unix_) void SetUserGroups(const passwd* pw) { int ngroups = 1; - THolder<gid_t, TFree> groups = THolder<gid_t, TFree>(static_cast<gid_t*>(malloc(ngroups * sizeof(gid_t)))); + THolder<gid_t, TFree> groups = THolder<gid_t, TFree>(static_cast<gid_t*>(malloc(ngroups * sizeof(gid_t)))); if (getgrouplist(pw->pw_name, pw->pw_gid, reinterpret_cast<TGetGroupListGid*>(groups.Get()), &ngroups) == -1) { groups.Reset(static_cast<gid_t*>(malloc(ngroups * sizeof(gid_t)))); if (getgrouplist(pw->pw_name, pw->pw_gid, reinterpret_cast<TGetGroupListGid*>(groups.Get()), &ngroups) == -1) { |