16 lines
503 B
Diff
16 lines
503 B
Diff
--- lib/libpam/modules/pam_login_access/login_access.c.orig
|
|
+++ lib/libpam/modules/pam_login_access/login_access.c
|
|
@@ -137,10 +137,10 @@
|
|
if (match != NO) {
|
|
while ((tok = strtok((char *) 0, listsep)) && strcmp(tok, "EXCEPT")) {
|
|
/* VOID */ ;
|
|
- if (tok == NULL || list_match((char *) 0, item, match_fn,
|
|
- login_access_opts) == NO) {
|
|
+ }
|
|
+ if (tok == NULL ||
|
|
+ list_match((char *) 0, item, match_fn, login_access_opts) == NO) {
|
|
return (match);
|
|
- }
|
|
}
|
|
}
|
|
return (NO);
|