* src/groupmems.c: Replace an if test by an else.
This commit is contained in:
parent
a22551d56b
commit
9aad7a3783
@ -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().
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user