e system main - check getgrid return like elsewhere to maake cov happy
fix CID 1425457
This commit is contained in:
parent
8bf18495f4
commit
089051af9e
|
@ -79,10 +79,13 @@ _etc_enlightenment_system_conf(void)
|
|||
for (i = 0; i < gn; i++)
|
||||
{
|
||||
gp = getgrgid(gl[i]);
|
||||
if (!fnmatch(usergroup, gp->gr_name, 0))
|
||||
if (gp)
|
||||
{
|
||||
in_usergroup = EINA_TRUE;
|
||||
break;
|
||||
if (!fnmatch(usergroup, gp->gr_name, 0))
|
||||
{
|
||||
in_usergroup = EINA_TRUE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue