* src/groupmems.c: Replace an if test by an else.

This commit is contained in:
nekral-guest 2008-07-27 22:30:47 +00:00
parent a22551d56b
commit 9aad7a3783
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2008-07-27 Nicolas François <nicolas.francois@centraliens.net>
* src/groupmems.c: Replace an if test by an else.
2008-07-27 Nicolas François <nicolas.francois@centraliens.net>
* src/groupmems.c: Ignore the return value of fputs().

View File

@ -181,9 +181,7 @@ static void check_perms (void)
pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */
if (NULL == pampw) {
retval = PAM_USER_UNKNOWN;
}
if (PAM_SUCCESS == retval) {
} else {
retval = pam_start ("groupmod", pampw->pw_name,
&conv, &pamh);
}