* src/groupmems.c: Replace an if test by an else.
This commit is contained in:
1 parent
a22551d56b
commit
9aad7a3783
2 files changed
+5
-3
No files matched your search
+1
-3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user