Bug fix: get groupname of group rather than user
This commit is contained in:
parent
ea09a74ad9
commit
a467c2346f
|
@ -85,7 +85,7 @@ namespace NzbDrone.Mono
|
||||||
|
|
||||||
if (!uint.TryParse(group, out groupId))
|
if (!uint.TryParse(group, out groupId))
|
||||||
{
|
{
|
||||||
var g = Syscall.getgrnam(user);
|
var g = Syscall.getgrnam(group);
|
||||||
|
|
||||||
if (g == null)
|
if (g == null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue