forked from enlightenment/enlightenment
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,6 +79,8 @@ _etc_enlightenment_system_conf(void)
|
|||
for (i = 0; i < gn; i++)
|
||||
{
|
||||
gp = getgrgid(gl[i]);
|
||||
if (gp)
|
||||
{
|
||||
if (!fnmatch(usergroup, gp->gr_name, 0))
|
||||
{
|
||||
in_usergroup = EINA_TRUE;
|
||||
|
@ -86,6 +88,7 @@ _etc_enlightenment_system_conf(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (in_usergroup)
|
||||
{
|
||||
int ok = _conf_allow_deny(cmd, glob);
|
||||
|
|
Loading…
Reference in New Issue