Avoid implicit conversion of integer to boolean.

This commit is contained in:
nekral-guest 2008-06-10 20:34:25 +00:00
parent 182731d6eb
commit 7cb33ba636

View File

@ -644,7 +644,7 @@ int main (int argc, char **argv)
fputs (_("too many groups\n"), stderr);
} else {
grouplist[ngroups++] = gid;
if (setgroups (ngroups, grouplist)) {
if (setgroups (ngroups, grouplist) != 0) {
perror ("setgroups");
}
}