diff options
author | timestep <[email protected]> | 2022-02-10 16:49:17 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:17 +0300 |
commit | 30f4921b0fa8722e5531e72cb40a93b526f6973a (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/shellcommand.cpp | |
parent | 38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 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 d2546206e7b..b1989b5c8c3 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) { |