Avoid implicit conversion of integer to boolean.
This commit is contained in:
parent
182731d6eb
commit
7cb33ba636
@ -644,7 +644,7 @@ int main (int argc, char **argv)
|
|||||||
fputs (_("too many groups\n"), stderr);
|
fputs (_("too many groups\n"), stderr);
|
||||||
} else {
|
} else {
|
||||||
grouplist[ngroups++] = gid;
|
grouplist[ngroups++] = gid;
|
||||||
if (setgroups (ngroups, grouplist)) {
|
if (setgroups (ngroups, grouplist) != 0) {
|
||||||
perror ("setgroups");
|
perror ("setgroups");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user